From 49d2121017f3495dee1d0af3155ff55984f3df45 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 6 Sep 2020 16:50:54 -0500 Subject: [PATCH] Chats: improve display of images, because we can --- app/styles/chats.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/styles/chats.scss b/app/styles/chats.scss index 00c0e4b94..62a9424ae 100644 --- a/app/styles/chats.scss +++ b/app/styles/chats.scss @@ -326,13 +326,17 @@ } .chat-message .media-gallery { - height: 120px !important; + height: auto !important; margin: 4px 0 8px; .spoiler-button { display: none; } + &__preview { + background-color: transparent; + } + &__item-thumbnail img, &__item-thumbnail .still-image img { object-fit: contain;