stack galley block images on mobile

This commit is contained in:
Evan Mullins 2022-11-07 11:01:07 -05:00
parent 6d1378bb98
commit 4fe75c1926

View file

@ -901,4 +901,14 @@ div.lwa-modal-overlay div.lwa-modal-popup {
.profile-data .user-meta dd {
margin-bottom: 0;
padding: 0 .25rem 1rem;
}
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
width: 100%;
}
@media only screen and (min-width: 960px) {
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2);
}
}