Fix app shell layout with stable top bar and dynamic nav offset.

Unified chrome keeps the home logo top-left, measures bottom nav height
for scroll clearance, and adds responsive content widths for mobile/desktop.
This commit is contained in:
2026-05-24 04:26:09 -06:00
parent 37836ec8a5
commit 91cced4c75
13 changed files with 291 additions and 58 deletions

View File

@@ -4,6 +4,8 @@
@layer base {
:root {
--app-topbar-height: 3.5rem;
--app-nav-offset: var(--bottom-nav-height);
--bottom-nav-height: 6rem;
--background: 252 38% 10%;
--foreground: 52 100% 88%;
@@ -168,7 +170,11 @@
@layer utilities {
.pb-nav {
padding-bottom: var(--bottom-nav-height);
padding-bottom: var(--app-nav-offset);
}
.pt-topbar {
padding-top: calc(var(--app-topbar-height) + env(safe-area-inset-top, 0px));
}
.image-pixelated {