mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-06 09:52:06 +02:00
Fix mobile scroll
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user