Skip to content

Commit

Permalink
Inline style for now as workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Aug 25, 2024
1 parent 34b3899 commit 164c844
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/component/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ export const Card = ({ post, index, homie = false }: CardProps) => {
<div className="flex">
<div className="transition-transform duration-300 group-hover:translate-x-2 md:group-hover:translate-x-0">
{post.thumbnailUrl && (
<img src={post.thumbnailUrl} className="size-24 rounded-lg object-contain" alt="logo" />
<img
style={{ width: 82, height: 82 }}
src={post.thumbnailUrl}
className="rounded-lg"
alt="logo"
/>
)}
</div>
</div>
Expand Down

0 comments on commit 164c844

Please sign in to comment.