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
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.
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:
We could apply a CSS patch to fix this, for example:
User report: p1649072900167279-slack-C029FM1EH
The text was updated successfully, but these errors were encountered: