Skip to content

Commit

Permalink
Revert "Zoom layout shift: second alternate fix. (#66041)"
Browse files Browse the repository at this point in the history
This reverts commit ecd845c.
  • Loading branch information
ajlende committed Oct 16, 2024
1 parent 9dfd6ac commit 95c10e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-editor/src/components/iframe/content.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.block-editor-iframe__body {
position: relative;
border: 0.01px solid transparent;
}

.block-editor-iframe__container {
Expand Down Expand Up @@ -50,6 +49,8 @@

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 95c10e8

Please sign in to comment.