Group block: Add horizontal margin support when direct descendant of a row #60997
Open
Description
opened on Apr 23, 2024
What problem does this address?
By default, the group block only supports setting vertical margins:
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.
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