diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-31 09:07:28 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-31 09:15:45 +0300 |
commit | 5d3f41e609d976d13314cf47ba40346617fa1a63 (patch) | |
tree | a416eb343e49941c87237c37a225ea8fadb506bf | |
parent | 4a3864f07853bdc52904aa3dddd5d96bb85ec7e3 (diff) |
Center the buttons
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | src/components/NewMessageForm/NewMessageForm.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index 546d76237..65723077c 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessageForm/NewMessageForm.vue @@ -64,12 +64,12 @@ {{ shareFromNextcloudLabel }} </NcActionButton> <template v-if="canShareFiles"> - <NcActionButton v-for="(fileTemplate, i) in fileTemplateOptions" + <NcActionButton v-for="(provider, i) in fileTemplateOptions" :key="i" :close-after-click="true" - :icon="fileTemplate.iconClass" + :icon="provider.iconClass" @click.prevent="showTextFileDialog = i"> - {{ fileTemplate.label }} + {{ provider.label }} </NcActionButton> </template> <NcActionButton v-if="canCreatePoll" @@ -876,6 +876,7 @@ export default { &__buttons { display: flex; gap: 4px; + justify-content: center; } &__form { |