Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Apr 28, 2021
1 parent f7cf817 commit 6bafbb8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/block-library/src/navigation-link/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,17 +214,17 @@
margin: 0 0.5em 0 0;
}

.wp-block-page-list > .wp-block-pages-list__item,
.wp-block-navigation__container > .wp-block-navigation-link {
.wp-block-page-list .wp-block-pages-list__item__link,
.wp-block-navigation__container .wp-block-navigation-link__content {
padding: 0.5em 1em;
}
}

// Margins in all submenus.
// Spacing in all submenus.
.has-child .submenu-container,
.has-child .wp-block-navigation-link__container {
.wp-block-pages-list__item,
.wp-block-navigation-link {
.wp-block-pages-list__item__link,
.wp-block-navigation-link__content {
margin: 0;
padding: 0.5em 1em;
}
Expand Down Expand Up @@ -253,6 +253,7 @@
@include break-medium {
.submenu-container,
.wp-block-navigation-link__container {
left: 100%;
top: 0;
}
}
Expand Down

0 comments on commit 6bafbb8

Please sign in to comment.