-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MenuItem: Add 40px size prop on Button #66596
Conversation
Flaky tests detected in a310d09. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11599831079
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, works as expected 👍
Also confirming this is the case wherever I tested:
(These changes mostly won't be seen in the app until we update the styles for DropdownMenu, which is currently overriding the MenuItem styles 😅)
Can you name any instances where MenuItem
isn't used in a DropdownMenu
so we can test them and ensure they work well?
* MenuItem: Add 40px size prop on Button * Add changelog * Update snapshots Co-authored-by: mirka <[email protected]> Co-authored-by: tyxla <[email protected]>
In preparation for #65751
What?
Adds
__next40pxDefaultSize
prop to the Button in MenuItem.Testing Instructions
See the
MenuItem
stories in Storybook. The heights should now be 40px instead of 36px.(These changes mostly won't be seen in the app until we update the styles for DropdownMenu, which is currently overriding the MenuItem styles 😅)