From b37baed4788fd3d6e4455430897b28e1925a660a Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 21 Apr 2023 15:03:28 +1000 Subject: [PATCH] Edit Post: Hide overflowing content in visual editor wrapper to prevent block popovers from creating scrollbars --- 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 a9ce377b76ba4..86495e740edc0 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)