From 4845955e9ac40c5bebaab7262bb6082b875f9255 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Mon, 18 May 2026 21:45:05 +0800 Subject: [PATCH] style(menu): tighten session list density in sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce vertical spacing in the chat session list so more sessions fit on screen without feeling cramped: row height 38→34px, item height 32→30px, and slimmer timeline group headers. --- frontend/src/components/menu.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/menu.vue b/frontend/src/components/menu.vue index ebae3580..cf76a6a1 100644 --- a/frontend/src/components/menu.vue +++ b/frontend/src/components/menu.vue @@ -1194,9 +1194,9 @@ const onDragHandleMouseDown = (e: MouseEvent) => { font-size: 11px; font-weight: 600; color: var(--td-text-color-disabled); - padding: 8px 14px 4px 14px; - margin-top: 6px; - line-height: 18px; + padding: 6px 14px 3px 14px; + margin-top: 4px; + line-height: 17px; user-select: none; animation: menuItemFadeIn 0.25s ease-out; @@ -1206,8 +1206,8 @@ const onDragHandleMouseDown = (e: MouseEvent) => { } .submenu_item_p { - height: 38px; - padding: 2px 0px 2px 0px; + height: 34px; + padding: 1px 0px 1px 0px; box-sizing: border-box; animation: menuItemFadeIn 0.25s ease-out; } @@ -1219,8 +1219,8 @@ const onDragHandleMouseDown = (e: MouseEvent) => { align-items: center; color: var(--td-text-color-primary); font-weight: 400; - line-height: 20px; - height: 32px; + line-height: 19px; + height: 30px; padding-left: 0px; padding-right: 10px; position: relative;