Remove the transition when displaying the sidebar when the user prefers reduced motion (bug 1813138)

In Firefox, it can be easily testesd in setting the pref `ui.prefersReducedMotion` to 1.
This commit is contained in:
Calixte Denizet 2023-01-28 16:23:23 +01:00
parent f492d96301
commit f14413989c

View File

@ -189,6 +189,12 @@
}
}
@media screen and (prefers-reduced-motion: reduce) {
:root {
--sidebar-transition-duration: 0;
}
}
* {
padding: 0;
margin: 0;