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 Mar 15, 2021
1 parent e382528 commit 89af288
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 89af288

Please sign in to comment.