Disable smooth scrolling for reduced motion preference

This commit is contained in:
Helen Chong 2024-06-11 02:03:25 +08:00
parent 9969d0e36f
commit b817f16013
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
/* GENERAL STYLES */
html {
@media (prefers-reduced-motion: no-preference) {
scroll-behavior: smooth;
}
}
body {