From 314a3b455c2505afefc89be80684a577761187d4 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Tue, 30 Dec 2025 20:05:40 +0100 Subject: [PATCH] Fix viewport height on mobile browsers --- gui/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }