Open dianeco opened 1 year ago
This issue was reviewed in today's Editor Bug Scrub. We have been able to replicate using the latest versions of Gutenberg and WordPress.
The issue can be "fixed" by manually specifying horizontal spacing in addition the custom vertical spacing, but at @dianeco indicates, you would expect the default theme blockGap
value to be used instead of the hardcoded values in the Editor and Frontend.
Ran into this today, it is still an issue.
This is still broken. Even the manual "fix" won't always work. Only a single gap value is generated on the frontend. I'm not sure why the UI is even in the Editor if it's completely broken 🤔
@carolinan Is this still occurring? I've not noticed it lately.
Tested with Gutenberg version 17.6.0, WordPress version 6.4.3, and the TT3 theme. This problem still appears to be unresolved.
On the editor side, the default gap value is 1.5rem
:
The same goes for the front end:
Change the vertical spacing to 4 on the slider. The gap value becomes var(--wp--preset--spacing--60) 0.5em
and the horizontal space changes unintentionally.
On the front end, the gap value is var(--wp--preset--spacing--60) 2em
and the horizontal gap value is different from the default 1.5rem
.
Description
Changing the vertical block spacing of the columns block also changes the horizontal block spacing, which isn't the expected behavior. The horizontal block spacing should keep its default value.
Step-by-step reproduction instructions
By default, the horizontal spacing is set by the theme.json file with a value of 1.5rem.
I expect the horizontal spacing to keep the default value (1.5rem for Twenty Twenty-Three).
Screenshots, screen recording, code snippet
No response
Environment info
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