-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Accordion Heading: Remove the padding from the heading when it has a background color #72046
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
Conversation
t-hamano
left a comment
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! Thanks for the quick fix.
|
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: -684 B (-0.03%) Total Size: 1.95 MB
ℹ️ View Unchanged
|
| "padding": true | ||
| }, | ||
| "__experimentalSkipSerialization": true | ||
| "__experimentalSkipSerialization": true, |
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.
Thank you, I forgot to skip serialization for padding.
|
I don't think this update makes sense as it's now not possible to add any padding as default styles from theme.json file. |
|
Linking this issue #72776 for visibility |
What?
Remove the padding from the Accordion heading block.
Why?
When the block has a background color, a padding applied from the heading element. We don't want that in the case as it is impossible override with the padding for this block.
How?
Using a stronger CSS selector to override the default padding
Testing Instructions
Screenshots or screencast