Description
For example, I'd like to reduce the left padding of the Archives block.

So I set the padding in the theme.json
"styles": {
"blocks": {
"core/archives": {
"spacing": {
"padding": {
"left": "0"
}
}
}
}
}
This works on the front of the site.

However, the block remains unchanged in the editor due to this default style overriding the custom style.
ul.wp-block-archives {
padding-left: 2.5em;
}

Related:
Step-by-step reproduction instructions
- Go to the editor
- Add an archives block
- Add custom padding value in the theme.json
- See the block in the editor
Screenshots, screen recording, code snippet
No response
Environment info
- WP:6.8.2
- Gutenberg: Trunk
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
For example, I'd like to reduce the left padding of the Archives block.
So I set the padding in the
theme.jsonThis works on the front of the site.
However, the block remains unchanged in the editor due to this default style overriding the custom style.
Related:
list#69008Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.