Skip to content

Commit 79823da

Browse files
committed
fix: respect reduced motion preferences
1 parent ae79d28 commit 79823da

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

assets/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ html {
2121
scroll-behavior: smooth;
2222
}
2323

24+
@media (prefers-reduced-motion: reduce) {
25+
html {
26+
scroll-behavior: auto;
27+
}
28+
}
29+
2430
body {
2531
margin: 0;
2632
color: var(--ink);

0 commit comments

Comments
 (0)