Skip to content

Commit

Permalink
Add max height for link preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Aug 17, 2023
1 parent 88148d7 commit 05c6ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chats/ChatItem/LinkPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function LinkPreview({
alt=''
width={600}
height={400}
className='mt-2 rounded-lg'
className='mt-2 max-h-72 rounded-lg object-contain'
/>
{customButtonText && (
<Button
Expand Down

0 comments on commit 05c6ed9

Please sign in to comment.