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 all commits
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
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;
}
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