From 56290f3d01227009df8ef0be61f7a6a86fa7fff3 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 21 Jul 2021 14:47:27 -0600 Subject: [PATCH] Force padding overrides to take precedence over MediaBody styles --- res/css/views/audio_messages/_AudioPlayer.scss | 2 +- res/css/views/audio_messages/_PlaybackContainer.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/views/audio_messages/_AudioPlayer.scss b/res/css/views/audio_messages/_AudioPlayer.scss index 2feab2e288..77dcebbb9a 100644 --- a/res/css/views/audio_messages/_AudioPlayer.scss +++ b/res/css/views/audio_messages/_AudioPlayer.scss @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_AudioPlayer_container { +.mx_MediaBody.mx_AudioPlayer_container { padding: 16px 12px 12px 12px; .mx_AudioPlayer_primaryContainer { diff --git a/res/css/views/audio_messages/_PlaybackContainer.scss b/res/css/views/audio_messages/_PlaybackContainer.scss index ef60bc4948..773fc50fb9 100644 --- a/res/css/views/audio_messages/_PlaybackContainer.scss +++ b/res/css/views/audio_messages/_PlaybackContainer.scss @@ -18,7 +18,7 @@ limitations under the License. // are shared amongst multiple voice message components. // Container for live recording and playback controls -.mx_VoiceMessagePrimaryContainer { +.mx_MediaBody.mx_VoiceMessagePrimaryContainer { // The waveform (right) has a 1px padding on it that we want to account for, otherwise // inherit from mx_MediaBody padding-right: 11px;