Skip to content

Commit

Permalink
Combine into one useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Nov 15, 2024
1 parent faf9921 commit ffbcc2d
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 191 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/iframe/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.block-editor-iframe__html {
$frame-size: var(--wp-block-editor-iframe-zoom-out-frame-size);
$frame-size: var(--wp-block-editor-iframe-zoom-out-frame-size, 0);
$scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
scale: $scale;
transform-origin: top center;
Expand Down
Loading

0 comments on commit ffbcc2d

Please sign in to comment.