Skip to content

Group block: Add horizontal margin support when direct descendant of a row #60997

Open
@andersnoren

Description

What problem does this address?

By default, the group block only supports setting vertical margins:

image

This makes sense in most cases.

However, when the group block is inside of a row block, you might want to be able to set a horizontal margin on the group block, to modify the space between the group and other blocks in the row block. You can set a block spacing value on the row as well, but there are many scenarios where you want different margin values on different child blocks inside the row. Right now, this isn't possible with the group block.

image

What is your proposed solution?

When the group block is a direct descendant of a row block, it should support horizontal margin values as well as vertical.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Block] GroupAffects the Group Block (and row, stack and grid variants)[Feature] LayoutLayout block support, its UI controls, and style output.[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions