summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-02 23:41:59 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-30 00:24:06 +0100
commit0d170214c21204088254d7502b4bde0fd9a79133 (patch)
tree81d58ad947e23b1821615fb1dac2cc039e708b98
parent120ceb683e527c48149b74e893164a49cb3b6934 (diff)
downloadserver-0d170214c21204088254d7502b4bde0fd9a79133.tar.gz
Don't use 100vh as it doesn't work on chrome.
Try using 100% as a workaround... maybe it'll behave better on browsers that don't support dvh yet.
-rw-r--r--public/common/client.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/common/client.css b/public/common/client.css
index b763e25..d5d69fc 100644
--- a/public/common/client.css
+++ b/public/common/client.css
@@ -94,9 +94,9 @@ html {
env(safe-area-inset-right, 0px)
env(safe-area-inset-bottom, 0px)
env(safe-area-inset-left, 0px);
- width: 100vw;
+ width: 100%;
width: 100dvw;
- height: 100vh;
+ height: 100%;
height: 100dvh;
}