Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Oct 3, 2022
1 parent 840c704 commit 4f2dbf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ $navigation-icon-size: 24px;
display: block;
}

// This rule needs extra specificity so that it inherits the correct color from its parent.
// Otherwise, a link color set by a parent group can override the value.
.wp-block-navigation-item__content.wp-block-navigation-item__content {
color: inherit;
}
Expand Down

0 comments on commit 4f2dbf9

Please sign in to comment.