Skip to content

Commit

Permalink
Set quick inserter content width to 100% on screens below 782px (#23896)
Browse files Browse the repository at this point in the history
Co-authored-by: Riad Benguella <[email protected]>
  • Loading branch information
javidalkaruzi and youknowriad authored Jul 13, 2020
1 parent b4b9b2a commit d697158
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ $block-inserter-tabs-height: 44px;
}

.block-editor-inserter__quick-inserter {
width: $block-inserter-width;
width: 100%;

@include break-medium {
width: $block-inserter-width;
}
}

.block-editor-inserter__quick-inserter-results {
Expand All @@ -291,9 +295,7 @@ $block-inserter-tabs-height: 44px;
}

.block-editor-inserter__popover.is-quick > .components-popover__content > div {
@include break-medium {
padding: 0;
}
padding: 0;
}

.block-editor-inserter__quick-inserter-expand.components-button {
Expand Down

0 comments on commit d697158

Please sign in to comment.