diff --git a/gui/index.html b/gui/index.html
index 74db3e0..8793d70 100644
--- a/gui/index.html
+++ b/gui/index.html
@@ -20,7 +20,8 @@
#canvas {
/* Force Slint to occupy the entire viewport */
width: 100vw !important;
- height: 100vh !important;
+ height: 100vh !important; /* if browser doesn't support dvh */
+ height: 100dvh !important;
}