fix(ui): honor the application animation setting globally

This commit is contained in:
Sucukdeluxe
2026-08-15 16:03:59 +02:00
parent f911d4c444
commit 760ed847fc
10 changed files with 57 additions and 119 deletions
+9 -10
View File
@@ -406,13 +406,12 @@ textarea,
outline-offset: 2px;
}
@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;
}
}
.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;
}