fix(ui): home bottom nav matches inner screens
CI/CD / CI - API (dotnet build + engine sim) (push) Successful in 2m39s
CI/CD / CI - Web (tsc + next build) (push) Successful in 1m13s
CI/CD / Deploy - local stack (db + server + web) (push) Successful in 35s

Wrap the home-screen NavRail in the same centered max-w-md container + notch-
safe bottom padding that ScreenShell uses, so the pill is identical in width and
position across home and every other screen. Home still drops its redundant Home
tab (5 vs 6) by design.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-22 15:57:23 +03:30
parent 5f07a0580e
commit 1af8e395ac
+7 -1
View File
@@ -173,9 +173,15 @@ export function HomeScreen() {
</div> </div>
</div> </div>
{/* bottom nav */} {/* bottom nav — same wrapper as the inner-screen ScreenShell rail
(centered max-w-md pill + notch-safe bottom padding) so it looks
identical across home and every other screen. */}
<div className="shrink-0 px-3 pb-[max(0.5rem,env(safe-area-inset-bottom))]">
<div className="mx-auto w-full max-w-md">
<NavRail bottom /> <NavRail bottom />
</div> </div>
</div>
</div>
</main> </main>
); );
} }