WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.32k stars 4.12k forks source link

Enhance Gutenberg Block: Add Margin Property for Column Blocks #60434

Open devsahadat opened 5 months ago

devsahadat commented 5 months ago

What problem does this address?

The absence of a margin property in Gutenberg's column blocks restricts users from achieving optimal spacing between elements, impeding the ability to create visually pleasing and well-balanced layouts..

image

What is my proposed solution?

Introduce a margin property for column blocks, providing users with the ability to finely adjust spacing between elements, thereby enhancing design flexibility and overall visual appeal within the Gutenberg editor.

skorasaurus commented 5 months ago

vertical margin already exists for columns (https://github.com/WordPress/gutenberg/pull/34630)

annezazu commented 5 months ago

@devsahadat can you share more about what you'd like to see? As @skorasaurus notes above, vertical margin does exist for columns, as does block spacing.

aaronrobertshaw commented 4 months ago

I'm only guessing here but by the look of the screenshot in the issue description, the active theme is TwentyTwentyOne.

As that is a classic theme that doesn't opt into the appearance-tools theme support or have a theme.json file to enable block supports, it doesn't get the block spacing options etc.

TwentyTwentyOne TwentyTwentyFour
Screenshot 2024-04-22 at 8 09 47 PM Screenshot 2024-04-22 at 8 10 28 PM
github-actions[bot] commented 4 months ago

Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks.