-
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
Social Icons: Add missing padding support, update margin support #43885
Social Icons: Add missing padding support, update margin support #43885
Conversation
Size Change: +26 B (0%) Total Size: 1.25 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 🎉
✅ Padding could be applied in editor, and showed correctly in fronted
✅ Padding could be added to Social Icons block in global styles and this was applied in site editor, post editor and frontend
✅ border-box was applied to wrapper in editor and frontend
Thanks for reviewing! I'll merge and update the tracking issue 👍 |
Related:
What?
Add padding support for the Social Icons block, update margin to be all sides for consistency with other blocks.
Why?
To create consistency across blocks.
How?
block.json
box-sizing: border-box
rule so that the padding matches adjacent blocks like GroupTesting Instructions
Also, test in Global Styles as well.
Note: There is an outstanding issues with specificity of margin styles as raised in #43404 and discussed in comparable PRs (e.g. here: #43520 (review)) — the idea with this PR is to create consistency in the opt-ins, and for us to look into seeing if we can improve the margin specificity issues separately.
Screenshots or screencast