From d9938924145c72cc3cb38ac20584d9338025aecb Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 16 Feb 2021 18:54:57 -0500 Subject: [PATCH] Backport #26583 to the 5.6 branch. --- packages/block-editor/src/components/inserter/style.scss | 1 + packages/interface/src/components/interface-skeleton/style.scss | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 96df823e35faf..d2c5d27084c2f 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -276,6 +276,7 @@ $block-inserter-tabs-height: 44px; border-top: $border-width solid $gray-300; padding: $grid-unit-20; flex-shrink: 0; + position: relative; // prevents overscroll when block library is open } .block-editor-inserter__manage-reusable-blocks-container { diff --git a/packages/interface/src/components/interface-skeleton/style.scss b/packages/interface/src/components/interface-skeleton/style.scss index 480cf92ff9580..69d1c59293a86 100644 --- a/packages/interface/src/components/interface-skeleton/style.scss +++ b/packages/interface/src/components/interface-skeleton/style.scss @@ -115,7 +115,6 @@ html.interface-interface-skeleton__html-container { .interface-interface-skeleton__left-sidebar { @include break-medium() { border-right: $border-width solid $gray-200; - overflow: hidden; // prevent overscroll } }