From bd8c936e6a88f8924b292aeaf08280f03bbd6ad5 Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Wed, 26 Apr 2023 08:46:41 +1000 Subject: [PATCH] Edit Post: Hide overflowing content in visual editor wrapper to prevent block popovers from creating scrollbars (#49978) --- packages/edit-post/src/components/visual-editor/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/edit-post/src/components/visual-editor/style.scss b/packages/edit-post/src/components/visual-editor/style.scss index a9ce377b76ba41..86495e740edc0a 100644 --- a/packages/edit-post/src/components/visual-editor/style.scss +++ b/packages/edit-post/src/components/visual-editor/style.scss @@ -2,6 +2,7 @@ position: relative; display: flex; flex-flow: column; + overflow: hidden; // Gray preview overlay (desktop/tablet/mobile) is intentionally not set on an element with scrolling content like // interface-interface-skeleton__content. This causes graphical glitches (flashes of the background color)