-
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
BorderRadiusControl: Tweak spacing between input and range control to line up with BorderControl #40958
BorderRadiusControl: Tweak spacing between input and range control to line up with BorderControl #40958
Conversation
Size Change: +5 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
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 👍
Thanks for cleaning this up. The sliders look more aligned now.
Note: The larger space to the right in the image above is due to the fact I left the drag handle fully to the left.
I think once the default height of all our controls change, we might wish to tweak the placement of the link/unlink buttons. In the border radius unlinked view it looks a little off given the second row of controls. Absolutely nothing to worry about now especially given the importance of having the default/linked view looking more consistent.
What?
While reviewing #40920, I noticed that the spacing between the
BorderControl
and its range control, and theBorderRadiusControl
and its range control looked slightly off. This PR gets them to line up horizontally, and adds a similar top margin to the unlink button so that it more approximates vertical alignment.Why?
Related to #40893, this attempts to improve consistency.
How?
BorderRadiusControl
to match theBorderControl
(a little more room ensures that the focused state of the slider doesn't brush against the input field).Testing Instructions
Add a Group block to a post and inspect the Border controls — look closely at the space between the input controls and the range sliders. They should be the same now.
Screenshots or screencast