Skip to content

Commit

Permalink
Merge branch 'try/gallery-draft-gallery-image' into try/gallery-draft
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevins committed Nov 7, 2019
2 parents c95d5eb + 86b9e55 commit 14422b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/gallery-image.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class GalleryImage extends Component {
const { isUploadFailed, retryMessage } = params;
const resizeMode = isCropped ? 'cover' : 'contain';

const imageStyle = [ styles.image, resizeMode,
const imageStyle = [ styles.image, { resizeMode },
isUploadInProgress ? styles.imageUploading : undefined,
];

Expand Down

0 comments on commit 14422b6

Please sign in to comment.