From 88f561230e994335c7652e0e8af3a8d9e3e94b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Aug 2026 20:36:55 +0200 Subject: [PATCH] Fix header horizontal overflow on mobile The nav bar's brand text, both nav-link labels, the username, and the logout label were all always rendered, easily exceeding a phone-width viewport since nothing could shrink or wrap. Collapse to icon-only below the sm breakpoint (labels stay in the DOM via sr-only so they're still announced to screen readers, just not painted) and truncate a long username instead of letting it force overflow. Co-Authored-By: Claude Sonnet 5 --- app/src/components/layout/nav.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/src/components/layout/nav.tsx b/app/src/components/layout/nav.tsx index aef8abc..cecaba3 100644 --- a/app/src/components/layout/nav.tsx +++ b/app/src/components/layout/nav.tsx @@ -29,14 +29,14 @@ export function Nav({ return (
-
-
+
+
- TriggerShell + TriggerShell
{authEnabled && ( -
- {username} +
+ + {username} +
)}