From 61111bc45b5fb30df653b99f52d093c65a68af00 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 30 Jun 2021 05:31:18 +0300 Subject: [PATCH] Audio: Various layout fixes (#1223) --- src/components/common/Audio.scss | 5 +++++ src/components/middle/message/_message-content.scss | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/common/Audio.scss b/src/components/common/Audio.scss index ad20570b..4e5bddc0 100644 --- a/src/components/common/Audio.scss +++ b/src/components/common/Audio.scss @@ -290,5 +290,10 @@ .duration { text-align: right; } + + .download-button { + left: auto; + right: 1.5rem; + } } } diff --git a/src/components/middle/message/_message-content.scss b/src/components/middle/message/_message-content.scss index 112dae2a..a680df4a 100644 --- a/src/components/middle/message/_message-content.scss +++ b/src/components/middle/message/_message-content.scss @@ -254,7 +254,12 @@ .Audio + .text-content { margin-top: .25rem; - margin-bottom: -0.4375rem; + } + + &:not(.has-replies) { + .Audio + .text-content { + margin-bottom: -0.4375rem; + } } }