diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-11-13 21:59:45 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-11-16 17:47:26 +0100 |
commit | f34365e8b54775873fe708f47306ce23e2ac2e03 (patch) | |
tree | c41ffe5682109d2ebfcd2924503a50d4c0caf85a /src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue | |
parent | 3936ef037b783301250cff957230dd7f08dda50b (diff) |
Fix file preview label spacing
By moving the element to the end it discards the weird HTML based spaces
and improves also how it looks like.
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 01dce9ab0..89154c7d0 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue @@ -47,7 +47,6 @@ <span v-if="isLoading" v-tooltip="previewTooltip" class="preview loading" /> - <strong v-if="shouldShowFileName">{{ name }}</strong> <button v-if="isUploadEditor" tabindex="1" :aria-label="removeAriaLabel" @@ -55,6 +54,7 @@ <Close class="remove-file__icon" decorative @click="$emit('remove-file', id)" /> </button> <ProgressBar v-if="isTemporaryUpload && !isUploadEditor" :value="uploadProgress" /> + <strong v-if="shouldShowFileName">{{ name }}</strong> </file-preview> </template> |