Skip to content

Commit

Permalink
fix: correct aspect ratio in collection activity images (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
goga-m authored Oct 30, 2023
1 parent 25901f1 commit 876c74a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const Name = ({
>
<div className="h-5 w-5 overflow-hidden rounded-full md:h-10 md:w-10">
<Img
wrapperClassName="aspect-square"
data-testid="ActivityTable__image"
src={activity.nft.images.small ?? undefined}
/>
Expand Down Expand Up @@ -180,6 +181,7 @@ export const Type = ({
<div className="mr-3 flex h-10 w-10 items-center justify-center overflow-hidden rounded-full bg-theme-secondary-100 dark:bg-theme-dark-800">
{showNameColumn && !isLgAndAbove && (
<Img
wrapperClassName="aspect-square"
data-testid="ActivityTable__image"
src={activity.nft.images.small ?? undefined}
/>
Expand Down

0 comments on commit 876c74a

Please sign in to comment.