Fix config fallback checking logic and PWA scrolling

This commit is contained in:
Xoconoch
2025-08-08 11:57:02 -06:00
parent 4ab2f818d4
commit 326ed035d8
5 changed files with 30 additions and 55 deletions

View File

@@ -185,23 +185,21 @@
/* PWA specific body styling */
body {
background: var(--color-surface);
overscroll-behavior: none;
}
.dark body {
background: var(--color-surface-dark);
}
/* PWA viewport fixes */
html {
height: 100vh;
height: 100dvh; /* Dynamic viewport height for mobile */
html, body {
height: 100%;
min-height: 100%;
}
body {
min-height: 100vh;
min-height: 100dvh;
margin: 0;
padding: 0;
overflow-y: auto;
}
a {
@@ -232,6 +230,8 @@
.pwa-main {
padding-left: var(--safe-area-inset-left);
padding-right: var(--safe-area-inset-right);
overscroll-behavior-y: contain;
-webkit-overflow-scrolling: touch;
}
}