Gallery columns don't match with other full width elements #4548
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Issue Overview
Gallery with 2 columns is narrower than centered image (both blocks should match main column/paragraph width).
Steps to Reproduce (for bugs)
All desktop browsers that show gallery (IE11 doesn't)
Expected Behavior
Gallery with should match singl image/paragraph width like in gutenberg editor in admin:
Above screnshot is from admin but problem is on frontend (see below).
Current Behavior
There is visible gap on frontend (highlighted with blue boxes)
The screen comes from Gutenberg 2.0.0 (in version 1.9 gap was twice as wide but only at right side).
Possible Solution
For 2 columns and 2 images gallery adding
solves the issue, didn't have time to enumerate it over different settings.
Margin styles from images come from
/wp-content/plugins/gutenberg/blocks/build/style.css
.Related Issues and/or PRs
Could be related to Responsive image gallery block #4035 (it also mentions
.blocks-gallery-image
margins, but I don't understand from provided screen and description what is really issued there).Todos
The text was updated successfully, but these errors were encountered: