style(responsive): add viewport-fit=cover and safe area CSS variables
Add viewport-fit=cover to meta tag for notched devices. Add --bottom-nav-h / --safe-area-bottom tokens and body padding-bottom for mobile bottom navigation safe area support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
/* ── Layout ──────────────────────────────────────────────────────── */
|
||||
--sidebar-w: 240px;
|
||||
--topbar-h: 56px;
|
||||
--bottom-nav-h: 64px;
|
||||
--safe-area-bottom: env(safe-area-inset-bottom, 0px);
|
||||
|
||||
/* ── Typography ──────────────────────────────────────────────────── */
|
||||
--font-display: 'Space Grotesk', 'Noto Sans KR', system-ui, serif;
|
||||
@@ -240,5 +242,6 @@ select option {
|
||||
body {
|
||||
overflow: auto;
|
||||
background-attachment: scroll;
|
||||
padding-bottom: calc(var(--bottom-nav-h) + var(--safe-area-bottom));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user