-
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
BorderControl
: Fix button styles
#56730
Conversation
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.
Great catch! I was thinking of adding Updated this in 602a3f4 |
602a3f4
to
ddac6ed
Compare
Flaky tests detected in 2d45a2a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7135425110
|
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.
Looking good to me, and testing well! 🚀 🚢
fe8b8af
to
2d45a2a
Compare
What?
The size of the button in BorderControl did not match the input field so there is a slight gap between their borders. This also affects BorderBoxControl.
Why?
It looks nicer. :)
How?
Removing the hardcoded height and width, adding an aspect-ratio of 1, and using
size="small"
instead of the deprecatedisSmall
for button.Testing Instructions
Ensure BorderControl and BorderBoxControl's borders and size look correct.
Screenshots or screencast
BorderControl
BorderBoxControl