Adjust vertical alignment of favorites button in install tab#11817
Adjust vertical alignment of favorites button in install tab#11817shreyasikhar wants to merge 4 commits into
Conversation
…in install tab Co-authored-by: Copilot <copilot@github.com>
|
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 Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
joedolson
left a comment
There was a problem hiding this comment.
I agree with @sabernhardt's comments about moving this to a different stylesheet. buttons.css should be primarily focused on the baseline styles for buttons, and exceptions belong elsewhere. I think that list-tables.css is the most appropriate place.
I also agree that setting vertical alignment may not be the best solution; it makes more sense to modernize to use flex layout.
|
Thanks @joedolson for pointing it out, I have addressed the feedback by updating the code. Also, updated the screenshot in the PR description after the change. |
This pull request makes a small CSS adjustment to the vertical alignment of buttons in the plugin favorites tab. The change ensures that buttons within
.plugin-install-tab-favoritesare aligned to the top instead of the default baseline.Ticket: https://core.trac.wordpress.org/ticket/65231