From 795c178ee34f0af4e365659260352ef5470e51d9 Mon Sep 17 00:00:00 2001 From: Niclas Jost <35239311+niclas-j@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:40:12 +0100 Subject: [PATCH] respect reduced motion --- frontend/src/App.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index ebc5159..7a971ad 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -63,4 +63,11 @@ window.addEventListener("resize", updateMobile); .origin-near-top { transform-origin: center 33vh; } + +@media (prefers-reduced-motion) { + .scale-enter-active, + .scale-leave-active { + transition: none; + } +}