diff --git a/packages/block-editor/src/components/block-switcher/style.scss b/packages/block-editor/src/components/block-switcher/style.scss index 23e32a1ffa642..2a8acbf413014 100644 --- a/packages/block-editor/src/components/block-switcher/style.scss +++ b/packages/block-editor/src/components/block-switcher/style.scss @@ -119,8 +119,10 @@ .block-editor-block-switcher__preview { width: 300px; height: auto; - max-height: 500px; - padding: $grid-unit-20; + // Subtract margin from max-height. + max-height: calc(500px - #{$grid-unit-40}); + margin: $grid-unit-20; + overflow: hidden; } }