Add scrollbar-gutter: stable and use min-height: 100svh.

This commit is contained in:
Fredrik Jonsson 2026-04-03 21:29:33 +02:00
commit 14736726a4
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,6 @@
@media (min-width: 666px) {
margin-inline: auto;
min-height: 100vh;
min-height: 100svh;
}
}

View file

@ -30,6 +30,9 @@
/* Improve text rendering. */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Always keep space for the scrollbar */
scrollbar-gutter: stable;
}
/* Sections */
@ -41,7 +44,7 @@
/* On short pages, we want the body to fill the entire height */
/* of the browser. */
min-height: 100vh;
min-height: 100svh;
}
/* Embedded content */