Skip to content

Commit 8fae46c

Browse files
authored
fix(ui): disable smooth scrolling (#823)
1 parent 329fc62 commit 8fae46c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/assets/main.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,9 @@ html {
154154
-webkit-font-smoothing: antialiased;
155155
-moz-osx-font-smoothing: grayscale;
156156
text-rendering: optimizeLegibility;
157-
scroll-behavior: smooth;
158157
scroll-padding-top: 5rem; /* Offset for fixed header - otherwise anchor headers are cutted */
159158
}
160159

161-
/* Disable smooth scrolling if user prefers reduced motion */
162-
@media (prefers-reduced-motion: reduce) {
163-
html {
164-
scroll-behavior: auto;
165-
}
166-
}
167-
168160
/*
169161
* Enable CSS scroll-state container queries for the document
170162
* This allows the footer to query the scroll state using pure CSS

0 commit comments

Comments
 (0)