-
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
Data views: Fix alignment of action items in list layout #66273
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: -6 B (0%) Total Size: 1.81 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.
This is better. Nice polish!
@@ -34,6 +34,7 @@ ul.dataviews-view-list { | |||
flex-basis: min-content; | |||
overflow: unset; | |||
margin-inline: $grid-unit-10 0; |
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.
It seems from quick testing that this margin
is no longer relevant and can be removed if you’d like.
@@ -34,6 +34,7 @@ ul.dataviews-view-list { | |||
flex-basis: min-content; | |||
overflow: unset; | |||
margin-inline: $grid-unit-10 0; | |||
padding-right: $grid-unit-05; |
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.
Super nit as from testing RTL, this gets changed to padding-left
. Though using a logical property e.g. padding-inline-end
would be nice, me thinks.
Good suggestions, thank you ❤️ |
Flaky tests detected in 3a2986e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11457872397
|
Co-authored-by: jameskoster <[email protected]> Co-authored-by: stokesman <[email protected]>
I just cherry-picked this PR to the wp/6.7 branch to get it included in the next release: 17e96c7 |
…6273) Co-authored-by: jameskoster <[email protected]> Co-authored-by: stokesman <[email protected]>
What?
Ensure action icon buttons in data views list layout are aligned with other actions buttons in the header and footer.
Why?
Visual polish.
Testing Instructions
In the screenshot below, the left is trunk, the right is this PR: