Skip to content

Commit

Permalink
Changes product detail gallery thumbnails to always be square
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotny committed Aug 8, 2023
1 parent 3f1a4f6 commit db3c257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/product/gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit db3c257

Please sign in to comment.