Disable smooth scrolling for reduced motion preference

This commit is contained in:
Leilukin 2024-06-11 02:03:25 +08:00 committed by Helen Chong
parent 6bb6da7f42
commit f02b8f6c5b

View File

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