Fix mobile scroll

This commit is contained in:
Jack Kingsman
2026-01-10 01:03:55 -08:00
parent 2798b551f8
commit 50fcd286ba
6 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -981,7 +981,7 @@ export function App() {
);
return (
<div className="flex flex-col h-screen">
<div className="flex flex-col h-dvh">
<StatusBar
health={health}
config={config}
+13
View File
@@ -6,8 +6,21 @@
padding: 0;
}
html, body, #root {
height: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
/* Prevent overscroll/bounce on mobile */
overscroll-behavior: none;
}
/* Fallback for browsers without dvh support */
@supports not (height: 1dvh) {
.h-dvh {
height: 100vh;
}
}
/* Mobile sidebar override - ensures sidebar fills Sheet container */