From f09becd1bf156c6d73da5cecde477e75e5e2756b Mon Sep 17 00:00:00 2001 From: claude code agent 227 Date: Sat, 20 Jun 2026 04:59:59 +0300 Subject: [PATCH] feat(comments): denser comments panel (tighter spacing, 14px body) Reduce vertical/horizontal air in the Comments side panel and shrink body/author/selection font sizes for more comments per screen, scoped to features/comment/ so the shared aside (TOC/Details tabs) is untouched. - comment-list-item: author name + selection quote sm->xs, avatar gap xs, outer pb 6 - comment-list-with-tabs: Paper p/mb sm->xs, reply Divider my 4->2 - comment.module.css: body ProseMirror font-size sm (16->14px), line-height 1.4, margin-top 10->4; .textSelection padding 8->6, margin-top 4->2 Implements docs/backlog/comments-panel-density.md. Co-Authored-By: Claude Opus 4.8 --- .../features/comment/components/comment-list-item.tsx | 8 ++++---- .../comment/components/comment-list-with-tabs.tsx | 6 +++--- .../src/features/comment/components/comment.module.css | 10 +++++++--- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/apps/client/src/features/comment/components/comment-list-item.tsx b/apps/client/src/features/comment/components/comment-list-item.tsx index a53e326a..8429e754 100644 --- a/apps/client/src/features/comment/components/comment-list-item.tsx +++ b/apps/client/src/features/comment/components/comment-list-item.tsx @@ -116,8 +116,8 @@ function CommentListItem({ } return ( - - + + - + {comment.creator.name} @@ -177,7 +177,7 @@ function CommentListItem({ tabIndex={0} aria-label={t("Jump to comment selection")} > - {comment?.selection} + {comment?.selection} )} diff --git a/apps/client/src/features/comment/components/comment-list-with-tabs.tsx b/apps/client/src/features/comment/components/comment-list-with-tabs.tsx index a3f348b8..cb674442 100644 --- a/apps/client/src/features/comment/components/comment-list-with-tabs.tsx +++ b/apps/client/src/features/comment/components/comment-list-with-tabs.tsx @@ -121,8 +121,8 @@ function CommentListWithTabs() { - +