Skip to content

Commit

Permalink
Navigation block "Open on click": Inherit font style and font weight (#…
Browse files Browse the repository at this point in the history
…40671)

* Inherit font style, font weight and text transform
  • Loading branch information
carolinan authored and adamziel committed Jun 21, 2022
1 parent 8a4478f commit 66fb75b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ button.wp-block-navigation-item__content {
font-size: inherit;
font-family: inherit;
line-height: inherit;
font-style: inherit;
font-weight: inherit;
text-transform: inherit;

// Buttons default to center alignment. This becomes visible
// when a menu item label is long enough to wrap.
Expand Down

0 comments on commit 66fb75b

Please sign in to comment.