-
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
Block Mover: Unify visual separator when show button label is on #59158
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: +8 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
This PR also includes a fix for regression (#57640) introduced in WP6.5. So I would like to add it to the project board and give it a backport label. |
Flaky tests detected in 07cbee8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7953623200
|
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.
Thanks for cleaning this up @t-hamano 👍
I can replicate the original issue with the separator and confirm this PR fixes the problem.
Before | After |
---|---|
Screen.Recording.2024-02-21.at.11.17.43.am.mp4 |
Screen.Recording.2024-02-21.at.11.23.03.am.mp4 |
LGTM 🚢
@aaronrobertshaw Thanks for the review! |
) Co-authored-by: t-hamano <[email protected]> Co-authored-by: aaronrobertshaw <[email protected]> Co-authored-by: afercia <[email protected]>
I just cherry-picked this PR to the cherry-pick-wp-6-5-beta-3 branch to get it included in the next release: c515c6c |
) Co-authored-by: t-hamano <[email protected]> Co-authored-by: aaronrobertshaw <[email protected]> Co-authored-by: afercia <[email protected]>
Fixes #58999
Follow-up #57640
What?
This PR unifies the visual separator between mover buttons when "show button label" is on.
Why?
The main problem is that when the buttons are placed horizontally, the horizontal border overlaps the text.
There are other consistency issues to resolve as reported in #58999.
How?
I adjusted the CSS for the separator based on the rules below.
Testing Instructions
Screenshots or screencast
57121f3bbfab1f68ea66dec0d8a44510.mp4