Skip to content

Commit

Permalink
fix: plain image link preview size
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Apr 12, 2024
1 parent 8d306ce commit b4bcc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/Components/Embed/LinkPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const LinkPreview = ({ url }: { url: string }) => {
}
}
if (preview?.image) {
return <ProxyImg src={preview?.image} />;
return <ProxyImg src={preview?.image} className="w-full object-cover aspect-video"/>;
}
return null;
}
Expand Down

0 comments on commit b4bcc4d

Please sign in to comment.