forked from crowetic/commerce
make the images bigger
This commit is contained in:
parent
0478b43e9c
commit
115f076fda
@ -123,10 +123,16 @@
|
|||||||
@apply w-10 h-10 flex ml-auto items-center justify-center bg-primary text-primary font-semibold text-xs leading-6 cursor-pointer;
|
@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 {
|
.imageContainer {
|
||||||
margin: auto;
|
& > div {
|
||||||
|
& > div {
|
||||||
|
height: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& div {
|
.product-image {
|
||||||
margin: auto;
|
height: 120% !important;
|
||||||
}
|
top: -10% !important;
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,7 @@ const ProductCard: FC<Props> = ({
|
|||||||
variant={p.variants.edges?.[0]!}
|
variant={p.variants.edges?.[0]!}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div className={s.imageContainer}>
|
||||||
<EnhancedImage
|
<EnhancedImage
|
||||||
alt={p.name}
|
alt={p.name}
|
||||||
className={cn('w-full object-cover', s['product-image'])}
|
className={cn('w-full object-cover', s['product-image'])}
|
||||||
@ -79,6 +80,7 @@ const ProductCard: FC<Props> = ({
|
|||||||
priority={priority}
|
priority={priority}
|
||||||
quality="90"
|
quality="90"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user