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
at .wp-block-gallery.aligncenter .blocks-gallery-image, .wp-block-gallery.alignleft .blocks-gallery-image, .wp-block-gallery.alignright .blocks-gallery-image, .wp-block-gallery .blocks-gallery-image
Possible Solution
Maybe use CSS Grid instead of Flexbox? People with CSS grid will get a column of images, which isn't all that bad. By using grid margin could be replaced with grid-gap - this seems like the exact thing the grid spec was designed for.
If CSS Grid isn't an option - that margin needs to be cleared up so that the gallery causing an unsymmetrical 16px gap on the right.
The text was updated successfully, but these errors were encountered:
Issue Overview
Galleries alignment is off on mobile devices:
Caused by:
at
.wp-block-gallery.aligncenter .blocks-gallery-image, .wp-block-gallery.alignleft .blocks-gallery-image, .wp-block-gallery.alignright .blocks-gallery-image, .wp-block-gallery .blocks-gallery-image
Possible Solution
Maybe use CSS Grid instead of Flexbox? People with CSS grid will get a column of images, which isn't all that bad. By using grid margin could be replaced with
grid-gap
- this seems like the exact thing the grid spec was designed for.If CSS Grid isn't an option - that margin needs to be cleared up so that the gallery causing an unsymmetrical 16px gap on the right.
The text was updated successfully, but these errors were encountered: