Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set quick inserter content width to 100% on screens below 782px #23896

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ $block-inserter-tabs-height: 44px;

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

@media (max-width: #{ ($break-medium) }) {
width: 100%;
}
javidalkaruzi marked this conversation as resolved.
Show resolved Hide resolved
}

.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