Use min-height:100vh instead of height.

This commit is contained in:
voussoir 2022-11-19 22:41:57 -08:00
parent 1b2117089d
commit e275cbaef1

View file

@ -29,7 +29,7 @@ getComputedStyle(document.documentElement).getPropertyValue("--narrow").trim() =
html html
{ {
height: 100vh; min-height: 100vh;
box-sizing: border-box; box-sizing: border-box;
color: var(--color_text_normal); color: var(--color_text_normal);
} }
@ -48,7 +48,7 @@ body
"content_body" 1fr "content_body" 1fr
/1fr; /1fr;
min-height: 100%; min-height: 100vh;
margin: 0; margin: 0;
padding: 8px; padding: 8px;
grid-row-gap: 8px; grid-row-gap: 8px;