Navigation: styles for textDecoration on nav links are too specific #42444
Labels
[Block] Navigation Link
Affects the Navigation Link Block
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
The following CSS for handling
textDecoration
on navigation block links is too specific:This prevents links inside the navigation block from being underlined by default. However, this should not take precedence if we set the global links to be underlined.
Step-by-step reproduction instructions
Add the following to a theme.json file, under
styles.elements.link.typography
:Screenshots, screen recording, code snippet
This is the CSS applied to a navigation link with the above theme.json settings:
Environment info
WP 6.0.1, latest GB trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: