From 921536e1fbddda54e518fb29e6904555c23452ae Mon Sep 17 00:00:00 2001 From: Eshaan Dabasiya <76681468+im3dabasia@users.noreply.github.com> Date: Thu, 2 Jan 2025 20:24:08 +0530 Subject: [PATCH] fix: Fix media query and reduced motion error (#68464) Co-authored-by: im3dabasia Co-authored-by: mirka <0mirka00@git.wordpress.org> --- packages/edit-site/src/components/layout/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/layout/style.scss b/packages/edit-site/src/components/layout/style.scss index caf7dd78da4b34..8d44015d529671 100644 --- a/packages/edit-site/src/components/layout/style.scss +++ b/packages/edit-site/src/components/layout/style.scss @@ -118,7 +118,7 @@ // This ensure the radius work properly. overflow: hidden; - @media not (prefers-reduced-motion) { + @media (prefers-reduced-motion: no-preference) { transition: border-radius, box-shadow 0.4s; }