Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export const PRIMARY_NAV: NavItem[] = [
{ to: '/now', label: 'Now', icon: Clock },
{ to: '/schedule', label: 'Schedule', icon: CalendarDays },
{ to: '/people', label: 'People', icon: Users },
{ to: '/ask', label: 'Ask', icon: MessageCircle },
]

@gitar-bot gitar-bot Bot Nov 10, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Quality: Phone bottom bar flex:5 still assumes 5 primary tabs

Below 767px, .rail-primary gets flex: 5 and each primary <li> and .rail-more gets flex: 1, so all six bottom-bar slots came out the same width when there were 5 primary items. This PR moves Ask out of PRIMARY_NAV, leaving 4 primary items. The primary list still takes 5/6 of the bar, so each of the 4 tabs is about 5/24 wide while More stays at 1/6. The tabs are now uneven and More looks squeezed. Set the primary flex to 4 to match the item count, or make the bar's width independent of the count, e.g. use display: contents on the list so each li sizes itself.

Match the flex weight to the new count of 4 primary items.:

.rail-primary { flex: 4; flex-direction: row; }

Was this helpful? React with 👍 / 👎


export const SECONDARY_NAV: NavItem[] = [
{ to: '/brief', label: 'My brief', icon: FileText },
{ to: '/catch-up', label: 'Catch up', icon: History },
{ to: '/ask', label: 'Ask', icon: MessageCircle },
]
Loading