Changes product detail gallery thumbnails to always be square (#1160)

This commit is contained in:
Michael Novotny 2023-08-08 10:19:23 -05:00 committed by GitHub
parent 3f1a4f65ae
commit 857a1df0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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