mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
Fix viewport height on mobile browsers
This commit is contained in:
+2
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user