Skip to content
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

Setting for block spacing at template level #58326

Closed
wwdes opened this issue Jan 26, 2024 · 4 comments
Closed

Setting for block spacing at template level #58326

wwdes opened this issue Jan 26, 2024 · 4 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@wwdes
Copy link
Contributor

wwdes commented Jan 26, 2024

What problem does this address?

Unable to control spacing of blocks in the root of a template

root block spacing

In this simple template, I have not found any control in the editor to remove the gap between the header and content block. So I am forced to do this with CSS. Nesting entire template in a group block, just so that I get the controls seems to mess with paddings.

What is your proposed solution?

Add controls to change spacing.

@wwdes wwdes added the [Type] Enhancement A suggestion for improvement. label Jan 26, 2024
@t-hamano
Copy link
Contributor

Hi @wwdes,

I think you can change the space between blocks at the root level in Appearance menu> Editor submenu> Styles button > Layout.

root-block-spacing

@t-hamano t-hamano added [Type] Help Request Help with setup, implementation, or "How do I?" questions. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed [Type] Enhancement A suggestion for improvement. labels Jan 27, 2024
@wwdes
Copy link
Contributor Author

wwdes commented Jan 27, 2024

Hi @wwdes,

I think you can change the space between blocks at the root level in Appearance menu> Editor submenu> Styles button > Layout.

root-block-spacing

Those settings are global, which means they set default block spacing everywhere. I am talking about a setting that should be available when editing a template. This setting should behave exactly as on group blocks. Basically, what I am saying is that all group blocks have this setting, but templates do not. Why not? Templates behave mostly just like a group block..

@t-hamano
Copy link
Contributor

I see. If so, #47637 would be relevant.

@wwdes
Copy link
Contributor Author

wwdes commented Dec 3, 2024

Completed with #54282

@wwdes wwdes closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

2 participants