[Navigation] Gutenberg 18.1 reduced specificity breaks link text-decoration #11
Labels
🐛 Bug
I installed this, and now my website is broken.
WordPress Issue
Whatcha doin' to me WordPress/Gutenberg?
Nested link styles in
theme.json
, specifically for text-decoration, is broken when using Gutenberg 18.1. This PR reduces the specificity of the global styles selector, wrapping everything in:where()
:With that change in place, the Core CSS wins the specificity battle, overruling
theme.json
: https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/navigation/style.scss#L79-L88Block library style updates were in included in this PR, but the Navigation block was not included:
The text was updated successfully, but these errors were encountered: