Skip to content

Commit

Permalink
Merge pull request #905 from prezly/fix/uploadcare-images
Browse files Browse the repository at this point in the history
Fix - Gallery card image overflowing and search results appearing blurry
  • Loading branch information
kudlajz authored May 7, 2024
2 parents 79b78b9 + f0a9b06 commit 988db04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/GalleryCard/GalleryCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}

.thumbnail {
width: 100%;
margin: 0 auto;
border-top-left-radius: $border-radius-lg;
border-top-right-radius: $border-radius-lg;
Expand Down
2 changes: 1 addition & 1 deletion utils/getImageSizes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export type CardSize = 'default' | 'big' | 'tiny';

export function getCardImageSizes(cardSize: CardSize) {
if (cardSize === 'tiny') {
return '60px';
return '100px';
}

return [
Expand Down

0 comments on commit 988db04

Please sign in to comment.