Merge pull request #2457 from Automattic/update/seedlet-gallery-blocks

Remove custom code for gallery blocks in Seedlet
This commit is contained in:
Ben Dwyer 2020-09-14 16:47:15 +01:00 committed by GitHub
commit 279bcc88d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 19 deletions

View file

@ -2420,14 +2420,6 @@ object {
font: 16px;
}
.wp-block-gallery .blocks-gallery-image {
width: calc((100% - 20px)/2);
}
.wp-block-gallery .blocks-gallery-item {
width: calc((100% - 20px)/2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}

View file

@ -13,12 +13,6 @@
}
}
// On mobile and responsive viewports, we allow only 1 or 2 columns at the most.
& .blocks-gallery-image,
& .blocks-gallery-item {
width: calc( (100% - var(--global--spacing-unit)) / 2);
}
// Apply max-width to floated items that have no intrinsic width.
&.alignleft,
&.alignright {

View file

@ -1533,11 +1533,6 @@ object {
font: var(--global--font-size-sm);
}
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc( (100% - var(--global--spacing-unit)) / 2);
}
.wp-block-gallery.alignleft, .wp-block-gallery.alignright {
max-width: 50%;
}