Skip to content

Commit

Permalink
Update FullLinkCard component with object-contain
Browse files Browse the repository at this point in the history
class for Image element
  • Loading branch information
IhsenBouallegue committed Nov 15, 2023
1 parent 4c6aedf commit 95355aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/app/link-card/full-link-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function FullLinkCard({

<div className="h-1/2 relative">
<Image
className="p-4"
className="p-4 object-contain"
fill
src={!image || image === "" ? "./logo/hubone_logo.svg" : image}
alt={title}
Expand Down

1 comment on commit 95355aa

@vercel
Copy link

@vercel vercel bot commented on 95355aa Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.