fix: ensure bottom content is not obscured by fixed continue bar when scrolling

This commit is contained in:
2026-08-12 12:50:36 +02:00
parent c2e157c095
commit 28f402674a
+12 -6
View File
@@ -28,9 +28,8 @@
box-sizing: border-box; box-sizing: border-box;
} }
html, html {
body { min-height: 100%;
height: 100%;
} }
body { body {
@@ -161,8 +160,9 @@ p {
/* Fixed bottom bar for a primary continue action ------------------------- */ /* Fixed bottom bar for a primary continue action ------------------------- */
body.has-continue-bar { body.has-continue-bar,
padding-bottom: 96px; body.has-continue-bar .container {
padding-bottom: calc(130px + env(safe-area-inset-bottom));
} }
.continue-bar { .continue-bar {
@@ -170,8 +170,10 @@ body.has-continue-bar {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 100;
padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
background: linear-gradient(0deg, var(--color-bg) 60%, rgba(255, 245, 247, 0)); background: linear-gradient(0deg, var(--color-bg) 70%, rgba(255, 245, 247, 0));
pointer-events: none;
} }
.continue-bar .container { .continue-bar .container {
@@ -179,6 +181,10 @@ body.has-continue-bar {
max-width: 480px; max-width: 480px;
} }
.continue-bar .btn {
pointer-events: auto;
}
/* Back link --------------------------------------------------------------- */ /* Back link --------------------------------------------------------------- */
.back-link { .back-link {