From 7e385840bfca4fb9e645555ec81d1d8bf6b7332c Mon Sep 17 00:00:00 2001 From: himanshupathak95 Date: Thu, 23 Jan 2025 13:51:48 +0530 Subject: [PATCH] Editor: Fix Post Publish Panel animation sliding in reduced motion mode --- packages/editor/src/components/post-publish-panel/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-publish-panel/style.scss b/packages/editor/src/components/post-publish-panel/style.scss index 36e6fa16dfe00..6221eaef52767 100644 --- a/packages/editor/src/components/post-publish-panel/style.scss +++ b/packages/editor/src/components/post-publish-panel/style.scss @@ -210,9 +210,9 @@ left: auto; width: $sidebar-width + $border-width; border-left: $border-width solid $gray-300; - transform: translateX(+100%); @media not (prefers-reduced-motion) { + transform: translateX(+100%); animation: editor-post-publish-panel__slide-in-animation 0.1s forwards; }