fix cropped images

This commit is contained in:
Julián Benegas
2020-10-23 21:40:44 -03:00
parent 17767624ce
commit 7b1fa570b5
2 changed files with 13 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ const ProductCard: FC<Props> = ({
<Heart />
</div>
</div>
<div className="absolute z-10 inset-0 flex items-center justify-center">
<div className={cn(s.imageContainer)}>
<Image
className={cn('w-full object-cover', s['product-image'])}
src={src}