-
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
MediaReplaceFlow: restore popover width #58597
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 Core SVNIf you're a Core Committer, use this list when committing to
GitHub Merge commitsIf 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. |
Size Change: -4 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in bc008c1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7752218681
|
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.
Seems to work in all the cases where it needs to:
Thanks for catching this.
A separate note for future link control work, it'd be nice to find an alternative to the hard-coded link control width, for example hard-coding the width of the text that needs to get elided instead, or the width of the main input field. This particular line seems prone to error.
@jasmussen Thanks for the review!
Yes, there should be a better solution in the future. For now, I would like to merge this PR to avoid shipping regressions to WP6.5. |
P.S. I added you as a co-author following this comment, but I can't seem to see your avatar on the commit 🤔 Probably you may want to add your WP.org email address to your GitHub account. |
Part of #58593
What?
This PR changes the width of the link control inside the
MediaReplaceFlow
component back from 200px to 300px.This allows you to remove unintended scrollbars.
Why?
This width was changed in #57608. #57608 focuses on improving the link UI, so this width change should be unintentional.
Testing Instructions