From ec91ceb7c6cd665f4835f41104fb5bf51e92777a Mon Sep 17 00:00:00 2001 From: BinBandit Date: Mon, 9 Mar 2026 12:06:05 +1100 Subject: [PATCH] fix(web): align sidebar logo with macOS traffic light buttons 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 2a96f9e9f3..1e419e2da2 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -978,7 +978,7 @@ export default function Sidebar() { const wordmark = (
-
+
Code @@ -994,7 +994,7 @@ export default function Sidebar() { <> {isElectron ? ( <> - + {wordmark} {showDesktopUpdateButton && ( @@ -1005,7 +1005,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} >