Skip to content

Commit

Permalink
fix: increase height of CardMedia component to 180 in order to displa…
Browse files Browse the repository at this point in the history
…y images properly
  • Loading branch information
kjy5 authored and gitbutler-client committed Feb 13, 2024
1 parent a91c304 commit 6e6fd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/link-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function LinkCard({ linkMeta }: { linkMeta: LinkMeta }) {
<Card sx={{ maxWidth: 345 }}>
<CardActionArea>
{linkMeta.imageSrc && (
<CardMedia component={'img'} height={140} image={linkMeta.imageSrc} alt={linkMeta.title} />
<CardMedia component={'img'} height={180} image={linkMeta.imageSrc} alt={linkMeta.title} />
)}
<CardContent>
<Stack spacing={2}>
Expand Down

0 comments on commit 6e6fd26

Please sign in to comment.