From cb664cff411af81b417bebe9a7802a03f29e1491 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Fri, 30 Aug 2024 12:52:02 -0700 Subject: [PATCH] ignore prefers-reduced-motion for resize handle line delay --- frontend/layout/lib/tilelayout.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/layout/lib/tilelayout.less b/frontend/layout/lib/tilelayout.less index b4f18ac2f..58316b7d2 100644 --- a/frontend/layout/lib/tilelayout.less +++ b/frontend/layout/lib/tilelayout.less @@ -62,7 +62,10 @@ } &:hover .line { visibility: visible; - transition: visibility 0s var(--animation-time-s); + + // Ignore the prefers-reduced-motion override, since we are not applying a true animation here, just a delay. + transition-property: visibility !important; + transition-delay: var(--animation-time-s) !important; } }