Skip to content

Commit

Permalink
partial fix for the media panel on small viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed May 10, 2024
1 parent 064e100 commit d87890a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down

0 comments on commit d87890a

Please sign in to comment.