stack galley block images on mobile
This commit is contained in:
parent
6d1378bb98
commit
4fe75c1926
1 changed files with 10 additions and 0 deletions
10
style.css
10
style.css
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue