Skip to content

Commit

Permalink
Fix navigation margin collapsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Aug 9, 2021
1 parent 7f97d5c commit 9a1446a
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 9a1446a

Please sign in to comment.