Changes product detail gallery thumbnails to always be square

This commit is contained in:
Michael Novotny 2023-08-08 10:12:39 -05:00
parent 3f1a4f65ae
commit db3c257fab
No known key found for this signature in database

View File

@ -74,7 +74,7 @@ export function Gallery({ images }: { images: { src: string; altText: string }[]
imageSearchParams.set('image', index.toString());
return (
<li key={image.src} className="h-auto w-20">
<li key={image.src} className="h-20 w-20">
<Link
aria-label="Enlarge product image"
href={createUrl(pathname, imageSearchParams)}