Skip to content

Commit

Permalink
Fix padding issues with nav screen. (#30183)
Browse files Browse the repository at this point in the history
* Fix padding issues with nav screen.

* Fix for non block themes.
  • Loading branch information
jasmussen authored Mar 24, 2021
1 parent 05d191f commit 229aaea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/edit-navigation/src/components/editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
font-family: $default-font;
}

.wp-block-navigation-link {
// Increase specificity.
.wp-block-navigation .wp-block-navigation-link {
display: block;

// Show submenus on click.
Expand All @@ -48,7 +49,6 @@
}

.wp-block-navigation-link__content {
padding: 0;
margin-bottom: 6px;
border-radius: $radius-block-ui;

Expand All @@ -59,8 +59,8 @@

.wp-block-navigation-link__label,
.wp-block-navigation-link__placeholder-text {
padding: $grid-unit-15;
padding-left: $grid-unit-30;
padding: $grid-unit-05;
padding-left: $grid-unit-10;
}

.wp-block-navigation-link__label {
Expand Down

0 comments on commit 229aaea

Please sign in to comment.