diff --git a/src/components/AppHeader.jsx b/src/components/AppHeader.jsx index fb443fd..9bd43a1 100644 --- a/src/components/AppHeader.jsx +++ b/src/components/AppHeader.jsx @@ -36,7 +36,7 @@ const NAV_ITEMS = [ ]; const navLinkClass = (isActive) => cn( - 'flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors', + 'flex items-center gap-2 rounded-lg px-2 py-2 text-sm font-medium transition-colors sm:px-3', isActive ? 'bg-accent text-accent-foreground' : 'text-muted-foreground hover:bg-muted hover:text-foreground', @@ -104,28 +104,29 @@ export default function AppHeader({isAuthenticated, onLogout}) { return (
- - + + {/* On a narrow phone the menu and buttons need the room; the logo alone stays. */} - ToBePlayed + ToBePlayed {isAuthenticated && ( -