From 05c6ed93fdd6f64041d8098587a7ed649b318420 Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Thu, 17 Aug 2023 22:22:20 +0700 Subject: [PATCH] Add max height for link preview image --- src/components/chats/ChatItem/LinkPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chats/ChatItem/LinkPreview.tsx b/src/components/chats/ChatItem/LinkPreview.tsx index ccb186378..8b6b2d65e 100644 --- a/src/components/chats/ChatItem/LinkPreview.tsx +++ b/src/components/chats/ChatItem/LinkPreview.tsx @@ -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 && (