From a20815ece6ea877a2b82072339f4bced98d757f7 Mon Sep 17 00:00:00 2001 From: 0x1f99d Date: Mon, 9 Mar 2026 12:56:29 +1100 Subject: [PATCH] fix(web): align sidebar logo with macOS traffic light buttons (#586) Adjust the Electron sidebar header to properly center the T3 wordmark with the native window controls. The logo was sitting ~2px too low and ~8px too close to the traffic lights. - Reduce wordmark container top margin from mt-2 (8px) to mt-1.5 (6px) - Increase Electron header left padding from 82px to 90px for proper traffic light clearance - Match the desktop update button margin to stay aligned Closes #564 --- apps/web/src/components/Sidebar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 2c3caa427e3d4e3933b505b885fd5da2de8efe72..ecfd526acb33e3b93aa1196da146ad4a8b02fac0 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -984,7 +984,7 @@ export default function Sidebar() { const wordmark = (
-
+
Code @@ -1000,7 +1000,7 @@ export default function Sidebar() { <> {isElectron ? ( <> - + {wordmark} {showDesktopUpdateButton && ( @@ -1011,7 +1011,7 @@ export default function Sidebar() { aria-label={desktopUpdateTooltip} aria-disabled={desktopUpdateButtonDisabled || undefined} disabled={desktopUpdateButtonDisabled} - className={`inline-flex size-7 ml-auto mt-2 items-center justify-center rounded-md text-muted-foreground transition-colors ${desktopUpdateButtonInteractivityClasses} ${desktopUpdateButtonClasses}`} + className={`inline-flex size-7 ml-auto mt-1.5 items-center justify-center rounded-md text-muted-foreground transition-colors ${desktopUpdateButtonInteractivityClasses} ${desktopUpdateButtonClasses}`} onClick={handleDesktopUpdateButtonClick} > -- 2.54.0