UI: Fix item popup typography#78403
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. |
ciampo
left a comment
There was a problem hiding this comment.
LGTM 🚀
Definitely a lesson to remember when working with portalled components
|
Size Change: 0 B Total Size: 7.97 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 5d56a12. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26040238487
|

What?
Fix shared item popup typography so detached or inline lists inherit the expected font styles.
Why?
The shared popup typography was applied on the popup wrapper, which means list content can lose the expected typography when rendered without that wrapper. This shows up in the Autocomplete and Combobox stories that render list content inline.
How?
Move the shared typography styles to the list and empty states, and use the
--wpds-typography-line-height-smtoken instead of a hardcoded line-height.Testing Instructions
Screenshots or screencast