Changes product detail gallery thumbnails to always be square (#1160)
This commit is contained in:
@@ -74,7 +74,7 @@ export function Gallery({ images }: { images: { src: string; altText: string }[]
|
|||||||
imageSearchParams.set('image', index.toString());
|
imageSearchParams.set('image', index.toString());
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li key={image.src} className="h-auto w-20">
|
<li key={image.src} className="h-20 w-20">
|
||||||
<Link
|
<Link
|
||||||
aria-label="Enlarge product image"
|
aria-label="Enlarge product image"
|
||||||
href={createUrl(pathname, imageSearchParams)}
|
href={createUrl(pathname, imageSearchParams)}
|
||||||
|
|||||||
Reference in New Issue
Block a user