From 74ab197dc61cca5e27f3951eaaa79182345e2211 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 26 Feb 2022 14:36:43 +0100 Subject: [PATCH] fix: don't always show a scrollbar --- src/styles/theme/theme.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/styles/theme/theme.scss b/src/styles/theme/theme.scss index 77a9ec06..6e76cac9 100644 --- a/src/styles/theme/theme.scss +++ b/src/styles/theme/theme.scss @@ -18,6 +18,11 @@ box-shadow: 0 0 0 2px hsla(var(--primary-hsl), 0.5); } +:root { + // Bulma sets this to "scroll" which gives us a scrollbar even if there's no content to scroll + --body-overflow-y: auto; +} + body { background: var(--site-background); min-height: 100vh;