Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Cubic: spacing missing between gallery blocks #5814

@mikachan

Description

@mikachan

Steps to replicate

Since WordPress/gutenberg#38164 has merged, there will now be no default margin set between gallery blocks. This will affect themes that were relying on the margin on the gallery images to provide a gap between galleries, rather than actually setting a top margin to separate the blocks. As GB has switched from using margin to gap to separate the images in a gallery this removes this default separation.

Cubic is impacted by this:

Before After
image image

We could apply a CSS patch to fix this, for example:

figure.wp-block-gallery.has-nested-images {
    margin-top: 16px;
}

User report: p1649072900167279-slack-C029FM1EH

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions