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:
parent
f492d96301
commit
f14413989c
@ -189,6 +189,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (prefers-reduced-motion: reduce) {
|
||||
:root {
|
||||
--sidebar-transition-duration: 0;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user