Navigation: Limit list style normalization to navigation block lists to avoid affecting custom overlay lists#77101
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
@karthikeya-io I have linked my GitHub account, but even it's showing the same |


What?
Closes #76936
This updates the Navigation block list-style normalization so it applies only to navigation block lists, instead of all descendant
ulelements inside.wp-block-navigation.Why?
The previous broad selector affects list-based blocks rendered inside Custom Navigation overlay content, such as Social Icons.
How?
This change narrows the selector so the list spacing normalization applies to:
ul.wp-block-navigation__containerulelements insideul.wp-block-navigation__containerTesting Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Use of AI Tools
Note: We could also try :where(...) to reduce specificity, open to other inputs.