From 9953557af05e0caf389be13914397def9fbd494d Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Tue, 2 Jun 2026 01:19:37 +0200 Subject: [PATCH] fix: align account selector header height with search/reply toolbars --- components/layout/sidebar.tsx | 48 +++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index d9e380ec..79fbbf6c 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -942,30 +942,34 @@ export function Sidebar({ {/* Header - hidden in the Pro shell, which owns its own chrome and would otherwise render an empty strip (no collapse, no switcher). */} {!isEmbedded && ( -
- + // Border lives on the wrapper (outside the h-14 box) so the bar's total + // height matches the search/reply toolbars, which border-b their wrapper too. +
+
+ - + - {!isCollapsed && !hideAccountSwitcher && ( - - )} + {!isCollapsed && !hideAccountSwitcher && ( + + )} +
)}