From 55f3a98159a754cee5162a05852881fa168134a7 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Fri, 28 Jun 2024 09:49:14 +0800 Subject: [PATCH] Fix second scrollbar when editing patterns in the post editor (#62909) Co-authored-by: talldan Co-authored-by: stokesman Co-authored-by: tellthemachines --- packages/edit-post/src/style.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/edit-post/src/style.scss b/packages/edit-post/src/style.scss index a95c02242644b5..f77c8122ca2e55 100644 --- a/packages/edit-post/src/style.scss +++ b/packages/edit-post/src/style.scss @@ -31,11 +31,13 @@ body.js.block-editor-page { } } -// Target the editor UI excluding the visual editor contents, metaboxes and custom fields areas. +// Target the editor UI excluding the non-iframed visual editor contents, metaboxes +// and custom fields areas. .editor-header, .editor-text-editor, .editor-sidebar, -.editor-post-publish-panel { +.editor-post-publish-panel, +.edit-post-visual-editor.is-iframed { @include reset; }