Skip to content

Commit

Permalink
chore: keep previous display for img
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Nov 16, 2023
1 parent 7d58ea2 commit 71d366e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/scroll_logo/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ const Card = ({ networkData, sx, imageSize }: Props) => {
<Image
alt=""
src={item.image}
{...(imageSize && { width: imageSize, height: imageSize })}
{...(imageSize
? { width: imageSize, height: imageSize }
: {
layout: "fill",
objectFit: "contain",
})}
/>
)}
</Box>
Expand Down
4 changes: 0 additions & 4 deletions src/components/scroll_logo/scroll_logo.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,3 @@
.left3 {
animation-name: horizontalMove3;
}

.animatedRow:hover {
animation-play-state: paused;
}

0 comments on commit 71d366e

Please sign in to comment.