Use svh instead of vh for mobile

This commit is contained in:
Matthias Portzel 2023-03-06 23:20:59 -05:00
parent 0fb8284d05
commit 8c8c7bbb5d
1 changed files with 3 additions and 0 deletions

View File

@ -7,8 +7,11 @@
body {
padding: 0;
margin: 0;
/* Fallback (hack) to vw and vh if svw and svh aren't supported */
width: 100vw;
height: 100vh;
width: 100svw;
height: 100svh;
overflow: hidden;
background: var(--accent-color);