- Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ArchivesAffects the Archives BlockAffects the Archives Block[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.Gives the original author opportunity to update before closing. Can be reopened as needed.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
The archives block doesn't respect the setting in theme.json. This is only a problem in the editor. The block renders fine on the front of the site.
For example, TT4 only specifies the list block's padding, which should be respected in both the archives and the page list blocks. But the archives block keeps the default padding. Hence, they don't align.
Another example with a different theme, the theme specifies the padding in theme.json, but it's ignored.
The issue remains even without Gutenberg activated. Does this mean this is the wrong place to report the issue? If so, let me know the best place.
Step-by-step reproduction instructions
- Open the editor and add an archives block.
- Edit theme.json to change the padding.
{ "styles": { "blocks": { "core/archives": { "spacing": { "padding": { "left": "50px" } } } } } { - Back to the editor and see the padding doesn't match in the archives block
Screenshots, screen recording, code snippet
No response
Environment info
- WP 6.4.2
- Gutenberg Trunk (although the issue remains without the plugin)
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ArchivesAffects the Archives BlockAffects the Archives Block[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.Gives the original author opportunity to update before closing. Can be reopened as needed.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended

