From 455871770d1931483d15e79c8c32c345ba466533 Mon Sep 17 00:00:00 2001 From: Trae User Date: Sat, 19 Sep 2026 17:53:30 +0800 Subject: [PATCH 1/6] fix: align sidebar content columns --- web/src/components/Sidebar.jsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/web/src/components/Sidebar.jsx b/web/src/components/Sidebar.jsx index 78378735..bf54f566 100644 --- a/web/src/components/Sidebar.jsx +++ b/web/src/components/Sidebar.jsx @@ -534,14 +534,14 @@ function CustomSidebarItem({ item, count, onClick }) { type="button" onClick={onClick} data-sidebar-custom-item={item.id} - className="ace-sidebar-primary-text w-full flex items-center gap-[5px] px-3 py-[3px] text-[14px] text-fg hover:bg-surface-hi transition text-left" + className="ace-sidebar-primary-text w-full flex items-center gap-[7px] px-3 py-[3px] text-[14px] text-fg hover:bg-surface-hi transition text-left" > - + {item.label} {Number.isFinite(count) && ( - {count} + {count} )} ); @@ -600,11 +600,11 @@ function CustomSidebarSection({ workspaceHash = '', onOpenSettingsSection, onOpe 扩展 {totalCount != null && ( - {totalCount} + {totalCount} )} {expanded && ( -
+
{SIDEBAR_CUSTOM_ITEMS.map((item) => ( ) : null} {showSessionTime && !editing && !pendingPermission && !pendingQuestion && ( - + {relativeTime(s.updated_at || s.created_at)} )} @@ -1683,7 +1683,7 @@ function WorkspaceGroup({ {expanded && (
{sessions.length === 0 ? ( -
+
@@ -1713,7 +1713,7 @@ function WorkspaceGroup({ ); })} {projectedSessions.collapsible && ( -
+