diff --git a/assets/css/layouts/_layouts.css b/assets/css/layouts/_layouts.css index e7b0abb..fcc03ba 100644 --- a/assets/css/layouts/_layouts.css +++ b/assets/css/layouts/_layouts.css @@ -7,7 +7,6 @@ @media (min-width: 666px) { margin-inline: auto; - min-height: 100vh; min-height: 100svh; } } diff --git a/assets/css/reset/_reset.css b/assets/css/reset/_reset.css index 389a1c7..96f3074 100644 --- a/assets/css/reset/_reset.css +++ b/assets/css/reset/_reset.css @@ -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 */