diff --git a/src/ui.html b/src/ui.html
index b81ba84..3360c79 100644
--- a/src/ui.html
+++ b/src/ui.html
@@ -11,7 +11,8 @@
background: #0d1117; color: #e6edf3;
font-family: 'Inter', 'IBM Plex Mono', monospace;
display: flex; flex-direction: column;
- height: 100vh; overflow: hidden;
+ /* use dvh, keep vh as a fallback */
+ height: 100vh; height: 100dvh; overflow: hidden;
}
.header {
display: flex; align-items: center; justify-content: space-between;