-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix text-menu min widths. #34532
Fix text-menu min widths. #34532
Conversation
CC: @aaronrobertshaw @andrewserong, this PR might fix the tools menu min width in a more generic way. |
Size Change: -2.62 kB (0%) Total Size: 1.04 MB
ℹ️ View Unchanged
|
@@ -2,6 +2,10 @@ | |||
|
|||
## Unreleased | |||
|
|||
### Breaking Change | |||
|
|||
- Removed a min-width from the `DropdownMenu` component, allowing the menu to accommodate thin contents like vertical tools menus ([#33995](https://github.com/WordPress/gutenberg/pull/33995)). |
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.
Let me know if this sounds good.
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.
Sounds good, I was initially confused since this PR adds two min-widths and not removing, but docs are for previous PR 👍
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.
Tests as expected, looks good 👍
@@ -2,6 +2,10 @@ | |||
|
|||
## Unreleased | |||
|
|||
### Breaking Change | |||
|
|||
- Removed a min-width from the `DropdownMenu` component, allowing the menu to accommodate thin contents like vertical tools menus ([#33995](https://github.com/WordPress/gutenberg/pull/33995)). |
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.
Sounds good, I was initially confused since this PR adds two min-widths and not removing, but docs are for previous PR 👍
Description
Fixes #34518. #33995 removed a min-width on popovers, causing some menus to be small.
This PR fixes the two issues found.
How has this been tested?
Please test the Image block URL dropdown.
Please dropdown menus that feature the "menu item" component, including the "add existing" dropdown on the navigation block.
Before:
After:
Checklist:
*.native.js
files for terms that need renaming or removal).