Replace body height units from svh to dvh

This commit is contained in:
Cohee 2024-07-08 15:06:06 +00:00
parent 979df4ea0e
commit 79069b49b8
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ body {
/*fallback for JS load*/ /*fallback for JS load*/
height: 100vh; height: 100vh;
height: 100svh; height: 100svh;
height: 100dvh;
/*defaults as 100%, then reassigned via JS as pixels, will work on PC and Android*/ /*defaults as 100%, then reassigned via JS as pixels, will work on PC and Android*/
/*height: calc(var(--doc-height) - 1px);*/ /*height: calc(var(--doc-height) - 1px);*/
background-color: var(--greyCAIbg); background-color: var(--greyCAIbg);