-
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
Re-order spacing side controls when unlinked #66317
base: trunk
Are you sure you want to change the base?
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. |
@richtabor While the link icon can be rotated using CSS, I think it is best to update the SVG. Could you provide vertically aligned Link and unlink svg asset? |
Size Change: -1 B (0%) Total Size: 1.84 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.
These changes test well for me 👍
It looks like the static linting test is failing but I don't think it's related to these changes, this probably just needs a rebase.
While the link icon can be rotated using CSS, I think it is best to update the SVG. Could you provide vertically aligned Link and unlink svg asset?
For this, is sides-vertical helpful?
91e40ba
to
90d29f6
Compare
I think the sides icons are already updated with respective sides. The current PR updates their order. Also, the vertical link icons are created by duplicating their horizontal versions (duplicated because these icons are also used in other instances). I choose to rotate the icons. Alternatively the CSS rotation can be applied to the link button itself, so that icon duplication can be avoided.
I am going to test if this has any acceptability implications. |
Flaky tests detected in e49db30. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12461989906
|
90d29f6
to
1088d85
Compare
@richtabor Could you provide your feedback on this change? |
Let's just do the order change, instead of the icon changes. We can push those into a separate PR, as they're more subjective. |
1088d85
to
e49db30
Compare
👍 This PR includes only order change. Icon change will be addressed in a followup PR. |
What?
This change is from the suggestions from this comment
Testing Instructions
Verify spacing controls (padding, margin) in styles panel. Now they should be in the following order.
Top
,bottom
,left
,right
when unlinked.Top + bottom
,Left + Right
when linked.