-
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
Format Library: Polish inline image format popover #64016
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. |
Size Change: +647 B (+0.04%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
Good change 👍 Should the button also be 40px, so that it lines up nicely with the input (as it does on trunk)? |
I don't have a strong feeling, I was mostly curious whether the button + input should be aligned in terms of height, since they are already on trunk. 32px may be fine since the popover is so small. |
I don't have a strong opinion either, but 40px is also fine for now. Could we reconsider the size when we try adding the alt textarea in the future? |
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's go for 40 then, since that is the more widely used size :)
What?
This PR improves the popover UI for applying widths to inline image.
Why?
The current UI is not consistent compared to other UIs.
How?
I have standardized all sizes and spacing to 8px grid units.
Note: In the future, I aim to add a textarea for
alt
attribute, as suggested by #63323.Testing Instructions
Insert an inline image and click it.
Screenshots or screencast