Skip to content

Post Template Block: Add blockGap support #44899

@iamtakashi

Description

@iamtakashi

I wanted to make a simple pattern with a Query Loop block and separators, and this was what I wanted to make.

dotcompatterns wordpress com__p=7930 preview=true (2)

But this is what I can do best at the moment because there is no way to specify the gap (top margin) applied to each list element .wp-block-post.

dotcompatterns wordpress com__p=7930 preview=true (3)

We can remove the gap in themes.json, but obviously, that would be site-wide, and it'd be great if we could change the gap in the editor.

Metadata

Metadata

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] Post TemplateAffects the Post Template Block[Feature] LayoutLayout block support, its UI controls, and style output.[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions