From 9cef08919258cd32c8f9c9113a405f5484e263e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 27 Jun 2026 17:53:05 +0200 Subject: [PATCH] fix(nav): even out the profile menu row spacing The Theme sub-trigger inherited the shared sub-trigger padding (py-1.5, no min-height) while every sibling row carries min-h-11 py-2, so the Theme row sat a few pixels shorter and the menu read as unevenly spaced. Match the item height on this instance only, leaving other dropdowns' sub-triggers untouched. --- src/components/layout/top-bar.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/layout/top-bar.tsx b/src/components/layout/top-bar.tsx index 956e27ee3..7f0fc898d 100644 --- a/src/components/layout/top-bar.tsx +++ b/src/components/layout/top-bar.tsx @@ -126,7 +126,13 @@ export function TopBar() { for the small audience that still reaches it (admins only, on the order of once or twice a year). */} - + {/* v1.22.1 — the shared sub-trigger ships `py-1.5` and no + min-height, while every sibling `DropdownMenuItem` carries + `min-h-11 py-2`. Left as-is the Theme row sits a few pixels + shorter than the rows around it and the menu reads as + unevenly spaced. Match the item height here (instance-level + override, so no other dropdown's sub-trigger is touched). */} + {themeIcon} {t("nav.theme")}