Skip to content

Commit ae20971

Browse files
singhakanshu00singhakanshu00t-hamanocarolinanstokesman
authored
Disable hover animation on preview frame for classic themes (#68976)
Co-authored-by: singhakanshu00 <akanshusingh@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: carolinan <poena@git.wordpress.org> Co-authored-by: stokesman <presstoke@git.wordpress.org>
1 parent 693e315 commit ae20971

File tree

1 file changed

+1
-1
lines changed
  • packages/edit-site/src/components/resizable-frame

1 file changed

+1
-1
lines changed

packages/edit-site/src/components/resizable-frame/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function ResizableFrame( {
254254
}
255255
} }
256256
whileHover={
257-
canvas === 'view'
257+
canvas === 'view' && isBlockTheme
258258
? {
259259
scale: 1.005,
260260
transition: {

0 commit comments

Comments
 (0)