Use svh instead of vh for mobile
This commit is contained in:
parent
0fb8284d05
commit
8c8c7bbb5d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue