diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-04-28 18:29:35 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-04-28 18:29:35 +0200 |
commit | bb0ed76284663efd810c61dabaf3af461e23b8f7 (patch) | |
tree | 4e78c790a878057a9fc6650badfbab81c58dd7d3 /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | |
parent | f4484df4c3a536247dab39c1ad97e03ecfb486ea (diff) |
Remove play button in reply to for video previews
The reply to box is too small to contain a play button, so remove it
there.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue index 9be0791b3..3a7693abb 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -32,7 +32,7 @@ v-if="!isLoading" class="image-container" :class="{'playable': isPlayable}"> - <span v-if="isPlayable" class="play-video-button"> + <span v-if="isPlayable && !smallPreview" class="play-video-button"> <PlayCircleOutline :size="48" decorative |