summaryrefslogtreecommitdiff
path: root/crates/wipfel/www
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wipfel/www')
-rw-r--r--crates/wipfel/www/style.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/wipfel/www/style.css b/crates/wipfel/www/style.css
index d706a8d..a0ffc4d 100644
--- a/crates/wipfel/www/style.css
+++ b/crates/wipfel/www/style.css
@@ -10,6 +10,10 @@ body {
.app {
display: flex;
height: 100vh;
+ /* dynamic viewport height: on mobile browsers 100vh includes the
+ area behind the collapsing URL bar, pushing the compass below the
+ fold; dvh tracks the actually visible area */
+ height: 100dvh;
background: #101014;
color: #e8e8ea;
}