diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue index 64540cf1d..61f4fc37d 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/AudioPlayer.vue @@ -20,13 +20,12 @@ --> <template> - <div class="wrapper"> - <audio - controls - :src="fileURL"> - {{ t('spreed', 'Your browser does not support playing audio files') }} - </audio> - </div> + <audio + class="audio-player" + controls + :src="fileURL"> + {{ t('spreed', 'Your browser does not support playing audio files') }} + </audio> </template> <script> @@ -80,3 +79,11 @@ export default { } </script> + +<style lang="scss" scoped> + +.audio-player { + margin: 12px 0; + width: 100%; +} +</style> |