Skip to content

Commit

Permalink
Try additional rule
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Oct 11, 2024
1 parent 231d06f commit 79b8fe3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/block-editor/src/components/iframe/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@
@include editor-canvas-resize-animation;

// Applying flex here prevents the body element, and title inside, from margin-collapse.
body {
display: flex;
flex-direction: column;
}
display: flex;
flex-direction: column;
}

.block-editor-iframe__html.is-zoomed-out {
Expand All @@ -57,6 +55,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 79b8fe3

Please sign in to comment.