From 6bbf33c1eeb634ed404ef8505318852308f0a627 Mon Sep 17 00:00:00 2001 From: Damon Cook Date: Tue, 19 Dec 2023 19:17:25 -0500 Subject: [PATCH] Fix vertical overflow when inserter is open in post and site editor (#57127) * Toggle classname for inserter * Adjust overflow when inserter is open * Revert "Toggle classname for inserter" This reverts commit 95f0a7264e179564a97f42fe8a7c8e1f56550793. * Revert "Adjust overflow when inserter is open" This reverts commit 40fba9e36cbc2f834d6850862fce6f1cd202b9d9. * Fix vertical overflow for inserter main area Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> --------- Co-authored-by: Aki Hamano <54422211+t-hamano@users.noreply.github.com> --- packages/block-editor/src/components/inserter/style.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 97a3d877b7e72a..dd0cc50e31fcb4 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -22,6 +22,8 @@ $block-inserter-tabs-height: 44px; flex-direction: column; height: 100%; gap: $grid-unit-20; + overflow-y: hidden; + &.show-as-tabs { gap: 0; }