Skip to content

Commit

Permalink
Gallery Block: Fix the crop images setting (#29823)
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored and youknowriad committed Mar 15, 2021
1 parent c243304 commit 9da2d0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
// Cropped
&.is-cropped .blocks-gallery-image,
&.is-cropped .blocks-gallery-item {
align-self: inherit;

a,
img {
// IE11 doesn't support object-fit, so just make sure images aren't skewed.
Expand Down

0 comments on commit 9da2d0d

Please sign in to comment.