Fix viewport height on mobile browsers

This commit is contained in:
2025-12-30 20:05:40 +01:00
parent 7c78d35aaa
commit 314a3b455c
+2 -1
View File
@@ -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;
}
</style>
</body>