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

Fix navigation margin collapsing. #33021

Merged
merged 1 commit into from Aug 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/block-library/src/columns/editor.scss
@@ -1,6 +1,8 @@
// This max-width is used to constrain the main editor column, it should not
// cascade into columns.
.wp-block-columns .wp-block {
// We use :where to provide minimum specificity, so that intentional margins,
// such as those of navigation menu items, override and win on specificity.
.wp-block-columns :where(.wp-block) {
max-width: none;
margin-left: 0;
margin-right: 0;
Expand Down