Skip to content

Commit

Permalink
Zoom layout shift: second alternate fix. (WordPress#66041)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: kevin940726 <kevin940726@git.wordpress.org>
  • Loading branch information
4 people authored and karthick-murugan committed Nov 13, 2024
1 parent c27bc49 commit 4b63801
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-editor/src/components/iframe/content.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.block-editor-iframe__body {
position: relative;
border: 0.01px solid transparent;
}

.block-editor-iframe__html {
Expand Down Expand Up @@ -32,8 +33,6 @@

body {
min-height: calc((#{$inner-height} - #{$total-frame-height}) / #{$scale});
display: flex;
flex-direction: column;

> .is-root-container:not(.wp-block-post-content) {
flex: 1;
Expand Down

0 comments on commit 4b63801

Please sign in to comment.