fix the scale

This commit is contained in:
Franco Arza
2020-10-22 12:04:22 -03:00
parent ef406cfaf6
commit a0720a2ee9
2 changed files with 9 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ const ProductCard: FC<Props> = ({ className, product: p, variant }) => {
>
<div className="absolute z-10 inset-0 flex items-center justify-center">
<img
className="w-full object-cover transform hover:scale-90 transition-transform duration-500"
className={cn('w-full object-cover', s['product-image'])}
src={p.images.edges?.[0]?.node.urlXL}
/>
</div>