From fd86561c7fd0f1e88d4461c62f253ec425460620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Mon, 15 Jun 2026 23:17:45 +0200 Subject: [PATCH] putting the animation under a @media query --- client/components/codeEditor/codeEditor.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/components/codeEditor/codeEditor.less b/client/components/codeEditor/codeEditor.less index 0223ab08f..1d1e1ae96 100644 --- a/client/components/codeEditor/codeEditor.less +++ b/client/components/codeEditor/codeEditor.less @@ -48,8 +48,12 @@ height:100px; background:linear-gradient(0deg, #89eafc00 0px, #89ebfc8e 50px, #89eafc00 100px, transparent); display:block; - animation: .5s linear 1 slideacross ; - rotate:30deg + + rotate:30deg; + + @media screen and (prefers-reduced-motion: no-preference) { + animation: .5s linear 1 slideacross ; + } } } }