-
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
Customizer Widgets: Fix inserter button size and animation #67880
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: +186 B (+0.01%) Total Size: 1.83 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.
LGTM, thank you @t-hamano 👍
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.
Looks good. Thank you ❤️
Thanks for the review! |
Related to #67440
What?
In the Customizer widget, do two things:
Why?
The inserter button was previously 24px in size:
Due to the influence of #67440, it seems that only the button width has changed from 24px to 32px.
How?
We could have changed it back to its original 24px size, but since the visual size of all the other buttons in this toolbar is 32px, I've changed the inserter button to be 32px square as well.
As for animations, the same styles are applied as in the Editor and Widget Editor:
gutenberg/packages/editor/src/components/document-tools/style.scss
Lines 18 to 25 in b1d943f
Testing Instructions
Screenshots or screencast