diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 02b826128ff60..af7efe2f23bbe 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -515,13 +515,18 @@ $block-inserter-tabs-height: 44px; .block-editor-inserter__media-panel { min-height: 100%; - padding: 0 $grid-unit-20; display: flex; flex-direction: column; - - @include break-medium { - padding: 0; - } + position: absolute; + top: 0; + left: $block-inserter-width; + height: 100%; + width: 300px; + padding: 0; + overflow: hidden; + background: $gray-100; + border-left: $border-width solid $gray-200; + border-right: $border-width solid $gray-200; .block-editor-inserter__media-panel-spinner { height: 100%;