From 41ccd58f8e8ea570a24f306e8b704814dc1f51f5 Mon Sep 17 00:00:00 2001 From: Marvin Rabe Date: Fri, 11 May 2018 22:15:50 +0200 Subject: [PATCH] Fixed tavern chat button. (#10342) --- website/client/components/groups/tavern.vue | 26 ++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/website/client/components/groups/tavern.vue b/website/client/components/groups/tavern.vue index 3ea95eed72..0e041b4b4c 100644 --- a/website/client/components/groups/tavern.vue +++ b/website/client/components/groups/tavern.vue @@ -15,11 +15,11 @@ textarea(:placeholder="$t('tavernCommunityGuidelinesPlaceholder')", v-model='newMessage', :class='{"user-entry": newMessage}', @keydown='updateCarretPosition', @keyup.ctrl.enter='sendMessage()') autocomplete(:text='newMessage', v-on:select="selectedAutocomplete", :coords='coords', :chat='group.chat') - .row - .col-6 + .row.chat-actions + .col-6.chat-receive-actions button.btn.btn-secondary.float-left.fetch(v-once, @click='fetchRecentMessages()') {{ $t('fetchRecentMessages') }} button.btn.btn-secondary.float-left(v-once, @click='reverseChat()') {{ $t('reverseChat') }} - .col-6 + .col-6.chat-send-actions button.btn.btn-secondary.send-chat.float-right(v-once, @click='sendMessage()') {{ $t('send') }} community-guidelines @@ -205,6 +205,26 @@ @import '~client/assets/scss/colors.scss'; @import '~client/assets/scss/variables.scss'; + .chat-actions { + margin-top: 1em; + + .chat-receive-actions { + padding-left: 0; + + button { + margin-bottom: 1em; + + &:not(:last-child) { + margin-right: 1em; + } + } + } + + .chat-send-actions { + padding-right: 0; + } + } + .chat-row { position: relative;