mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 14:42:31 +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());
|
||||
|
||||
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)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user