From 38d0a4a8f71fe72f41bc48fc4868ca1885999db1 Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sat, 18 Apr 2026 14:14:33 +0000 Subject: [PATCH] fix: correct prefers-reduced-motion animation handling - Remove duplicate @keyframes scan from reduced-motion block - Properly disable animation classes (.animate-scan-fast, etc) for motion-sensitive users - Maintain Tailwind keyframe definitions outside media query - Respects accessibility preference while preserving animation system --- frontend/app/globals.css | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/app/globals.css b/frontend/app/globals.css index 17b13ee3..2a80d56e 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -84,16 +84,8 @@ h1, h2, h3, h4, h5, h6 { transition-duration: 0.01ms !important; } - /* Disable keyframe animations */ - @keyframes scan { - 0%, 100% { top: 0%; } - 50% { top: 100%; } - } - - .animate-spin-slow { - animation: none !important; - } - + .animate-scan-fast, + .animate-spin-slow, .animate-pulse { animation: none !important; }