From ae20971817823e3578dba3cb31130e003d79886f Mon Sep 17 00:00:00 2001 From: Akanshu Singh <61490175+singhakanshu00@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:02:20 +0530 Subject: [PATCH] Disable hover animation on preview frame for classic themes (#68976) Co-authored-by: singhakanshu00 Co-authored-by: t-hamano Co-authored-by: carolinan Co-authored-by: stokesman --- packages/edit-site/src/components/resizable-frame/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/resizable-frame/index.js b/packages/edit-site/src/components/resizable-frame/index.js index ecb7204f9f05ba..fee65fbd9dfff8 100644 --- a/packages/edit-site/src/components/resizable-frame/index.js +++ b/packages/edit-site/src/components/resizable-frame/index.js @@ -254,7 +254,7 @@ function ResizableFrame( { } } } whileHover={ - canvas === 'view' + canvas === 'view' && isBlockTheme ? { scale: 1.005, transition: {