You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Cubic: spacing missing between gallery blocks #5814
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
We could apply a CSS patch to fix this, for example:
I see the potential fix can be found here: D78763-code
Looks like a situation isn't covered by that fix (yet) though. (.wp-block-gallery:not(.has-nested-images) and needs another look-see. Moving back to in-progress for some more tweaking.
Activity
madhusudhand commentedon Apr 14, 2022
Parent theme
boardwalkalso impacted.pbking commentedon Apr 15, 2022
I see the potential fix can be found here: D78763-code
Looks like a situation isn't covered by that fix (yet) though. (
.wp-block-gallery:not(.has-nested-images) and needs another look-see. Moving back to in-progress for some more tweaking.madhusudhand commentedon Apr 26, 2022
Changes deployed and verified.