mirror of
https://github.com/vercel/commerce.git
synced 2025-03-31 09:15:53 +00:00
Changes product detail gallery thumbnails to always be square (#1160)
This commit is contained in:
parent
3f1a4f65ae
commit
857a1df0f6
@ -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)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user