tweaks to product mocks

This commit is contained in:
Ghita Lucian
2023-08-14 12:46:08 +02:00
parent 176fc0ea42
commit e513d3b490
8 changed files with 236 additions and 97 deletions

View File

@@ -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}