From fb42f471a0573b34135113eb647cbd9f135224d8 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Sat, 22 Oct 2022 04:06:22 +0800 Subject: [PATCH] Fix resizeable editor scrolling (#45189) * Fix resizeable editor scrolling by avoiding setting a height on the editor iframe * Revert "Fix resizeable editor scrolling by avoiding setting a height on the editor iframe" This reverts commit 0e1960792169689825999047863b45a2cb9f04d1. * Set a max height instead of removing height from the iframe totally --- packages/edit-site/src/components/block-editor/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/edit-site/src/components/block-editor/style.scss b/packages/edit-site/src/components/block-editor/style.scss index 9830f1e302eac0..6f7e27f8a1cc2f 100644 --- a/packages/edit-site/src/components/block-editor/style.scss +++ b/packages/edit-site/src/components/block-editor/style.scss @@ -23,6 +23,7 @@ .edit-site-visual-editor__editor-canvas { border-radius: $radius-block-ui; + max-height: 100%; } // To hide the horizontal scrollbar and show the drag handle on the