Skip to content

Commit 15443d5

Browse files
committed
feat: add reduced motion support
1 parent 0ee8269 commit 15443d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/Root/Root.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ html {
1313
scroll-behavior: smooth;
1414
}
1515

16+
@media (prefers-reduced-motion: reduce) {
17+
html {
18+
scroll-behavior: auto;
19+
}
20+
}
21+
1622
body {
1723
margin: 0;
1824
}

0 commit comments

Comments
 (0)