fix(header): prevent mobile header overflow
Build, Test & Push Frontend / quality-check (push) Successful in 31s
Build, Test & Push Frontend / docker (push) Successful in 23s

Reduce responsive padding and gaps below 640 px, move nav labels to
lg breakpoint, and position the "view as" badge absolutely to prevent
horizontal scroll on narrow phones (360-414 px).
This commit is contained in:
lobo committed 2026-10-03 10:37:35 +02:00
1 parent b6f3d123fb
commit 04387fcd0c
3 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ describe('AppHeader', () => {
await vi.waitFor(() => expect(toast.error).toHaveBeenCalledWith('SETTINGS.ERROR_SAVE'));
});
// jsdom applies no media queries, so the test hides the name the way the 380px breakpoint does.
// jsdom applies no media queries, so the test hides the name the way the 520px breakpoint does.
it('keeps a name on the home link when a narrow phone hides the app name', () => {
fetchRoutes({});
renderWithProviders(<AppHeader isAuthenticated={false} onLogout={() => {}}/>);