style(menu): tighten session list density in sidebar

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.
This commit is contained in:
wizardchen
2026-05-18 21:45:05 +08:00
committed by lyingbug
parent 28e595734f
commit 4845955e9a
+7 -7
View File
@@ -1194,9 +1194,9 @@ const onDragHandleMouseDown = (e: MouseEvent) => {
font-size: 11px; font-size: 11px;
font-weight: 600; font-weight: 600;
color: var(--td-text-color-disabled); color: var(--td-text-color-disabled);
padding: 8px 14px 4px 14px; padding: 6px 14px 3px 14px;
margin-top: 6px; margin-top: 4px;
line-height: 18px; line-height: 17px;
user-select: none; user-select: none;
animation: menuItemFadeIn 0.25s ease-out; animation: menuItemFadeIn 0.25s ease-out;
@@ -1206,8 +1206,8 @@ const onDragHandleMouseDown = (e: MouseEvent) => {
} }
.submenu_item_p { .submenu_item_p {
height: 38px; height: 34px;
padding: 2px 0px 2px 0px; padding: 1px 0px 1px 0px;
box-sizing: border-box; box-sizing: border-box;
animation: menuItemFadeIn 0.25s ease-out; animation: menuItemFadeIn 0.25s ease-out;
} }
@@ -1219,8 +1219,8 @@ const onDragHandleMouseDown = (e: MouseEvent) => {
align-items: center; align-items: center;
color: var(--td-text-color-primary); color: var(--td-text-color-primary);
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 19px;
height: 32px; height: 30px;
padding-left: 0px; padding-left: 0px;
padding-right: 10px; padding-right: 10px;
position: relative; position: relative;