Skip to content

Commit

Permalink
Zoom layout shift: second alternate fix. (#66041)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: andrewserong <[email protected]>
Co-authored-by: kevin940726 <[email protected]>
  • Loading branch information
4 people authored Oct 14, 2024
1 parent 0e587d5 commit 7b29bb3
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

1 comment on commit 7b29bb3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 7b29bb3.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11322312418
📝 Reported issues:

Please sign in to comment.