From 12c6bd0cdba6c070e2bcbbdc43d2b2984b7e1b54 Mon Sep 17 00:00:00 2001 From: madrilene Date: Wed, 7 Feb 2024 11:53:55 +0100 Subject: [PATCH] add a new reset feature: scrollbar-gutter: stable both-edges; --- src/assets/css/global/reset.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/assets/css/global/reset.css b/src/assets/css/global/reset.css index fb1caba..78b48ec 100644 --- a/src/assets/css/global/reset.css +++ b/src/assets/css/global/reset.css @@ -41,6 +41,11 @@ html:focus-within { scroll-behavior: smooth; } +/* Make gutter area stable and present on both edges of the scrollbar */ +html { + scrollbar-gutter: stable both-edges; +} + /* Set core body defaults */ body { min-height: 100vh;