From 024e9209afa3086cab5f1660cac83edca873a5ba Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 6 Sep 2020 17:20:26 -0500 Subject: [PATCH] Chats: display of non-image attachments --- app/soapbox/components/media_gallery.js | Bin 19345 -> 19395 bytes app/styles/chats.scss | 6 ++++++ 2 files changed, 6 insertions(+) diff --git a/app/soapbox/components/media_gallery.js b/app/soapbox/components/media_gallery.js index 845b68db2b03f31f5bdb3ac9966d87995220146f..3eda5779571ef754c512054a7e13af404f5ba7b6 100644 GIT binary patch delta 31 ncmbO@o$>H=#tr|Z7!xL66cS<9RjHo*kxz`NHevH0si_74#wZLN delta 18 acmX>+opIuH#tr|ZChy~K-@IL##{d9QeFyab diff --git a/app/styles/chats.scss b/app/styles/chats.scss index 1f47cd57f3..0d882fa023 100644 --- a/app/styles/chats.scss +++ b/app/styles/chats.scss @@ -351,6 +351,12 @@ display: none; } + .media-gallery__item:not(.media-gallery__item--image) { + max-width: 100%; + width: 120px !important; + height: 70px !important; + } + &__preview { background-color: transparent; }