Skip to content

Commit 034ae15

Browse files
committed
style(mobile-nav): dock the bottom bar to the screen edge, drop the floating pill
The primary mobile nav (Home/Discover/Calendar/My Events/Profile) was a floating rounded pill with side margins and a gap above the safe area. Restyled to a standard docked, full-width bottom tab bar flush to the edge — matching how Instagram/TikTok/X render their own primary nav — instead of introducing a second, competing "floating vs. dashboard" nav idiom. Same items, same active-state logic, same hidden-path rules.
1 parent acd5373 commit 034ae15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/layout/mobile-bottom-nav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export function MobileBottomNav() {
3030
return (
3131
<nav
3232
aria-label="Mobile navigation"
33-
className="fixed inset-x-4 bottom-[calc(env(safe-area-inset-bottom,0px)+1rem)] z-40 md:hidden"
33+
className="fixed inset-x-0 bottom-0 z-40 border-t border-elevated bg-background/90 backdrop-blur-xl pb-[env(safe-area-inset-bottom,0px)] md:hidden"
3434
>
35-
<div className="flex items-center justify-around px-2 h-14 mx-auto max-w-100 rounded-full bg-background/90 backdrop-blur-xl border border-elevated shadow-lg">
35+
<div className="flex items-center justify-around px-2 h-14">
3636
{mobileNavItems.map((item) => {
3737
// For profile, redirect to sign-in if not authenticated
3838
const href =

0 commit comments

Comments
 (0)