Skip to content

Commit

Permalink
navigation-menu: set appender color
Browse files Browse the repository at this point in the history
It sets the appender color when the navigation menu has defined a text color.
  • Loading branch information
retrofox committed Nov 6, 2019
1 parent 0e1564b commit 1cbc1e4
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions packages/block-library/src/navigation-menu/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@
}

// Polish the Appender.
.wp-block-navigation-menu .block-list-appender {
margin: 0;
.wp-block-navigation-menu {
.block-list-appender {
margin: 0;

.block-editor-button-block-appender {
padding: $grid-size;
outline: none;
background: none;
}
}

.block-editor-button-block-appender {
padding: $grid-size;
outline: none;
background: none;
&.has-text-color .block-list-appender .block-editor-button-block-appender {
color: inherit;
}
}
}
Expand Down

0 comments on commit 1cbc1e4

Please sign in to comment.