From 7b29bb31d4aa607d9a789f6371a4e07128cd4834 Mon Sep 17 00:00:00 2001 From: "Joen A." <1204802+jasmussen@users.noreply.github.com> Date: Mon, 14 Oct 2024 08:42:17 +0200 Subject: [PATCH] Zoom layout shift: second alternate fix. (#66041) Co-authored-by: jasmussen Co-authored-by: andrewserong Co-authored-by: kevin940726 --- packages/block-editor/src/components/iframe/content.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/iframe/content.scss b/packages/block-editor/src/components/iframe/content.scss index 206f1adf329461..069274e66bdfd0 100644 --- a/packages/block-editor/src/components/iframe/content.scss +++ b/packages/block-editor/src/components/iframe/content.scss @@ -1,5 +1,6 @@ .block-editor-iframe__body { position: relative; + border: 0.01px solid transparent; } .block-editor-iframe__html { @@ -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;