openvibers/afresume Commits

fix: stop animations under prefers-reduced-motion instead of .001ms insanity

OP OpenVibers committed 17 May 2026 · e6257fa057 · 1 file, +2 −2

animation-duration of .001ms on infinite animations = ~16k cycles per frame =
screen shaking. KDE Plasma on Steam Deck enables reduced-motion by default.
Fix: animation: none so everything just stops cleanly.

Changes

ddiff --git a/src/styles/global.css b/src/styles/global.css
iindex 5dc05bf..347395a 100644
---- a/src/styles/global.css
++++ b/src/styles/global.css
@@@ -161,8 +161,8 @@ section { padding: clamp(60px, 10vw, 120px) 0; position: relative; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
-- animation-duration: .001ms !important;
-- transition-duration: .001ms !important;
++ animation: none !important;
++ transition-duration: 0.01s !important;
}
[data-reveal] { opacity: 1; transform: none; }
html { scroll-behavior: auto; }