From eb7b915edb62343b7178558616235c6e80cc83fa Mon Sep 17 00:00:00 2001
From: bree <me@bree.dev>
Date: Thu, 8 Jul 2021 10:32:05 -0400
Subject: [PATCH] Fix: max-width for other attachment types

---
 .../common/messaging/attachments/Attachment.module.scss       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/components/common/messaging/attachments/Attachment.module.scss b/src/components/common/messaging/attachments/Attachment.module.scss
index e9f42d6..79a60fa 100644
--- a/src/components/common/messaging/attachments/Attachment.module.scss
+++ b/src/components/common/messaging/attachments/Attachment.module.scss
@@ -66,7 +66,8 @@
         border-radius: 6px;
         flex-direction: column;
         background: var(--secondary-background);
-        max-width: 400px;
+        width: 400px;
+        max-width: 100%;
 
         > audio {
             width: 100%;
@@ -76,6 +77,7 @@
     &.file {
         > div {
             width: 400px;
+            max-width: 100%;
             padding: 12px;
             user-select: none;
             width: fit-content;
-- 
GitLab