From 17333f5988ac059c396d3e965b016638628d48b8 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Mon, 6 Jul 2026 17:54:05 +0200 Subject: [PATCH] Align the fullscreen menu's left edge with the hamburger icon The menu content is now wrapped in the same max-w-6xl mx-auto container the header uses, so its left inset matches the hamburger icon's position exactly at every viewport width - previously they only lined up on narrow screens, since the header's centered container adds extra outer margin on wide viewports that the overlay wasn't accounting for. Co-Authored-By: Claude Sonnet 5 --- hifi-src/src/components/Navbar.jsx | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/hifi-src/src/components/Navbar.jsx b/hifi-src/src/components/Navbar.jsx index 6f19163..ed4b0c8 100644 --- a/hifi-src/src/components/Navbar.jsx +++ b/hifi-src/src/components/Navbar.jsx @@ -120,21 +120,22 @@ export default function Navbar() { {mounted && createPortal(
- +
+ - setOpen(false)} className={`text-3xl font-extrabold tracking-tight text-neutral-900 hover:text-brand-600 ${flyIn()}`} style={flyInStyle(0)}> + setOpen(false)} className={`text-3xl font-extrabold tracking-tight text-neutral-900 hover:text-brand-600 ${flyIn()}`} style={flyInStyle(0)}> Fahrzeuge setOpen(false)} className={`text-3xl font-extrabold tracking-tight text-neutral-900 hover:text-brand-600 ${flyIn()}`} style={flyInStyle(1)}> @@ -176,7 +177,8 @@ export default function Navbar() { > Zum Shop - + +
, document.body )}