Skip to content

Commit

Permalink
Transition the iframe’s transform
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jul 31, 2024
1 parent 628a357 commit c1bba0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-editor/src/components/block-canvas/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ iframe[name="editor-canvas"] {
height: 100%;
display: block;
background-color: transparent;
// Animate the transform (for Zoom Out). The easing and duration are to match those
// of the interface skeleton’s secondary sidebar (where the Inserter lives).
transition: transform 0.25s cubic-bezier(0.6, 0, 0.4, 1);
}

0 comments on commit c1bba0a

Please sign in to comment.