mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
add styles to product card, collection banner image view
This commit is contained in:
@@ -7,6 +7,7 @@ import Image, { ImageProps } from 'next/image'
|
||||
import WishlistButton from '@components/wishlist/WishlistButton'
|
||||
import usePrice from '@framework/product/use-price'
|
||||
import ProductTag from '../ProductTag'
|
||||
|
||||
interface Props {
|
||||
className?: string
|
||||
product: Product
|
||||
@@ -53,6 +54,7 @@ const ProductCard: FC<Props> = ({
|
||||
height={320}
|
||||
width={320}
|
||||
layout="fixed"
|
||||
objectFit="cover"
|
||||
{...imgProps}
|
||||
/>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user