Skip to content

Commit ef69731

Browse files
committed
prevent scrollbar annoyance
1 parent 1347303 commit ef69731

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sass/styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ body {
66
padding: 0 1rem;
77
}
88

9+
// Doesn't work if on body element :shrug: https://www.matuzo.at/blog/2022/100daysof-day25
10+
html {
11+
scrollbar-gutter: stable;
12+
}
13+
914
// For some reason max-width on body doesn't apply
1015
img {
1116
max-width: 100%;

0 commit comments

Comments
 (0)