Revert "fix(ui): honor the application animation setting globally"
This reverts commit 760ed847fc.
This commit is contained in:
+10
-9
@@ -406,12 +406,13 @@ textarea,
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.is-runtime-motion-disabled,
|
||||
.is-runtime-motion-disabled *,
|
||||
.is-runtime-motion-disabled *::before,
|
||||
.is-runtime-motion-disabled *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user