From 3191a61d5bf0e8434df506ba89391d9720d59d01 Mon Sep 17 00:00:00 2001 From: brecert Date: Tue, 10 Aug 2021 05:48:26 -0400 Subject: [PATCH] fix image overflow on older browsers --- src/components/common/messaging/attachments/Grid.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/common/messaging/attachments/Grid.tsx b/src/components/common/messaging/attachments/Grid.tsx index 515058a3..0732550f 100644 --- a/src/components/common/messaging/attachments/Grid.tsx +++ b/src/components/common/messaging/attachments/Grid.tsx @@ -18,6 +18,8 @@ const Grid = styled.div` max-width: 100%; max-height: 100%; + overflow: hidden; + object-fit: contain; }