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

Group block orientation specific (horizontal & vertical) block spacing setup #53255

Closed
webmandesign opened this issue Aug 2, 2023 · 3 comments
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@webmandesign
Copy link
Contributor

What problem does this address?

I think Group block would benefit from (optional, meaning linked together by default - #53151) separate orientation setup for block spacing.

Especially when Group block is being used as a Row and wrapping to multiple lines is enabled, having separate horizontal and vertical block spacing/gap setup is useful. It improves responsive design as I am able to set smaller vertical gap between wrapped inner blocks.

Currently the block spacing is set to "blockGap": true, in Group block JSON.

What is your proposed solution?

Would be great if block spacing was set to:

"blockGap": {
	"sides": [ "horizontal", "vertical" ]
},

(Maybe the ideal solution would be to have orientation specific block spacing setup enabled only for Row mode of Group block, but I'm not sure whether this is possible in Gutenberg.)

@andrewserong andrewserong added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Aug 2, 2023
@andrewserong
Copy link
Contributor

Thanks for opening this follow-up issue! There's an earlier issue that's requesting the same feature, I believe, over in #47084, so I'll close this one as a duplicate. Let me know if you don't think that covers it, though, and we can re-open.

@andrewserong andrewserong closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
@webmandesign
Copy link
Contributor Author

Thanks for pointing me to the correct issue and sorry for duplicate.

@andrewserong
Copy link
Contributor

Not a worry at all, thank you for raising these issues and contributing to the discussion! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants