Skip to content

Commit

Permalink
fix(theme): fix smooth scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Mar 20, 2022
1 parent abe8618 commit 8175017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme/src/client/styles/layout.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use "@sass-palette/hope-config";

:root:focus-within {
:root {
@media (prefers-reduced-motion: no-preference) {
scroll-behavior: smooth;
}
Expand Down

0 comments on commit 8175017

Please sign in to comment.