improve the images

This commit is contained in:
Franco Arza
2020-10-26 21:45:39 -03:00
parent 96d5a37fd1
commit 0478b43e9c
4 changed files with 10 additions and 17 deletions

View File

@@ -122,3 +122,11 @@
.wishlistButton {
@apply w-10 h-10 flex ml-auto items-center justify-center bg-primary text-primary font-semibold text-xs leading-6 cursor-pointer;
}
.product-image {
margin: auto;
& div {
margin: auto;
}
}

View File

@@ -72,7 +72,7 @@ const ProductCard: FC<Props> = ({
</div>
<EnhancedImage
alt={p.name}
className="w-full object-cover"
className={cn('w-full object-cover', s['product-image'])}
src={src}
width={imgWidth}
height={imgHeight}