mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
tweaks to product mocks
This commit is contained in:
@@ -31,7 +31,7 @@ export function Gallery({ images }: { images: { src: string; altText: string }[]
|
||||
<div className="relative aspect-square h-full max-h-[550px] w-full overflow-hidden">
|
||||
{images[imageIndex] && (
|
||||
<Image
|
||||
className="h-full w-full object-contain"
|
||||
className="h-full w-full object-cover"
|
||||
fill
|
||||
sizes="(min-width: 1024px) 66vw, 100vw"
|
||||
alt={images[imageIndex]?.altText as string}
|
||||
|
Reference in New Issue
Block a user