-
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
Apply 40px across summary panel. #58730
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: +34 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Good question. I'd actually love to hear from @mirka on best practices here; the buttons should definitely be 40px, but do we simply apply |
Thanks for the tip. I can't easily get it to work, feel free to push changes to this branch if need be. Otherwise I think we can move forward, the important part for now is the row height. What do you think? |
Any reason not to add |
No reason, I just couldn't get the code sample to work, and had to switch gears to work on something else :) Feel free to push if you have it. |
I see, some of the components were a little deeper in the tree. I pushed the changes 👍 54c84e7 |
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.editor-post-panel__row-control { | ||
flex-grow: 1; | ||
min-height: $button-size; | ||
min-height: $button-size-next-default-40px; |
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.
We could potentially remove this. It only seems to exist for cases where the row doesn't include a control/button, which doesn't seem a likely occurrence?
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.
Left a small comment but otherwise looks good!
54c84e7
to
04333b3
Compare
What?
Continues progress on #46734.
Currently there's a mix of previous 36px button sizes, and 40px button sizes in the Summary panel. This is a small PR to apply the new default 40px size across. Before:
After:
The change makes the controls 280px tall, where before they were 252px. So it's 28px taller.