From 00dd761cfef9473a6137bd950b55e9e5a9ae256d Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Thu, 14 Dec 2023 13:04:10 +0100 Subject: [PATCH] fix(Quote): don't trim the quote when it is not image share with caption Signed-off-by: DorraJaouad --- .../MessagesGroup/Message/MessagePart/FilePreview.vue | 4 ++-- src/components/Quote.vue | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index ffb34930c9f..56cc3d37597 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -380,8 +380,8 @@ export default { // Fallback for loading mimeicons (preview for audio files is not provided) if (this.previewAvailable !== 'yes' || this.mimetype.startsWith('audio/')) { return { - width: '128px', - height: '128px', + width: this.smallPreview ? '32px' : '128px', + height: this.smallPreview ? '32px' : '128px', } } diff --git a/src/components/Quote.vue b/src/components/Quote.vue index 8e3eb56e1e3..b0731066399 100644 --- a/src/components/Quote.vue +++ b/src/components/Quote.vue @@ -44,7 +44,6 @@ components.