We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d7831 commit be79e7eCopy full SHA for be79e7e
src/app/ImageWithSkeleton.tsx
@@ -22,7 +22,7 @@ const ImageWithSkeleton: FC<ImageWithSkeletonProps> = ({
22
onLoad={() => setImageLoaded(true)}
23
className={className ?? ''}
24
style={{
25
- maxHeight: height, width, display: isImageLoaded ? 'block' : 'none', objectFit: 'cover',
+ maxHeight: height, width, display: isImageLoaded ? 'block' : 'none', objectFit: 'contain',
26
}}
27
/>
28
{!isImageLoaded && <Skeleton width={width} height={height} />}
0 commit comments