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:
@@ -36,7 +36,7 @@ export function InAppReminderBanner() {
|
||||
role="status"
|
||||
aria-live="polite"
|
||||
className="fixed inset-x-0 z-[60] px-4 pb-[env(safe-area-inset-bottom,0px)]"
|
||||
style={{ bottom: "calc(var(--bottom-nav-height) + 0.5rem)" }}
|
||||
style={{ bottom: "calc(var(--app-nav-offset, var(--bottom-nav-height)) + 0.5rem)" }}
|
||||
>
|
||||
<div className="mx-auto flex max-w-lg items-start gap-3 rounded-xl border border-primary/30 bg-card p-4 shadow-lg">
|
||||
<div className="rounded-full bg-primary/10 p-2">
|
||||
|
||||
Reference in New Issue
Block a user