Merge pull request #2457 from Automattic/update/seedlet-gallery-blocks
Remove custom code for gallery blocks in Seedlet
This commit is contained in:
commit
279bcc88d7
3 changed files with 0 additions and 19 deletions
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue