chore: Fixes error in reply box code (#3494)

This commit is contained in:
Nithin David Thomas 2021-12-01 16:04:02 +05:30 committed by GitHub
parent 0a18993b70
commit 2a5932cf1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -3,20 +3,26 @@
<woot-button <woot-button
v-if="!currentChat.muted" v-if="!currentChat.muted"
v-tooltip="$t('CONTACT_PANEL.MUTE_CONTACT')" v-tooltip="$t('CONTACT_PANEL.MUTE_CONTACT')"
class="hollow secondary actions--button" variant="smooth"
size="small"
color-scheme="secondary"
icon="speaker-mute" icon="speaker-mute"
@click="mute" @click="mute"
/> />
<woot-button <woot-button
v-else v-else
v-tooltip.left="$t('CONTACT_PANEL.UNMUTE_CONTACT')" v-tooltip.left="$t('CONTACT_PANEL.UNMUTE_CONTACT')"
class="hollow secondary actions--button" variant="smooth"
size="small"
color-scheme="secondary"
icon="speaker-1" icon="speaker-1"
@click="unmute" @click="unmute"
/> />
<woot-button <woot-button
v-tooltip="$t('CONTACT_PANEL.SEND_TRANSCRIPT')" v-tooltip="$t('CONTACT_PANEL.SEND_TRANSCRIPT')"
class="hollow secondary actions--button" variant="smooth"
size="small"
color-scheme="secondary"
icon="share" icon="share"
@click="toggleEmailActionsModal" @click="toggleEmailActionsModal"
/> />
@ -89,10 +95,7 @@ export default {
align-items: center; align-items: center;
.button { .button {
font-size: var(--font-size-large);
margin-right: var(--space-small); margin-right: var(--space-small);
border-color: var(--color-border);
color: var(--s-400);
} }
} }

View file

@ -51,7 +51,6 @@
@toggle-user-mention="toggleUserMention" @toggle-user-mention="toggleUserMention"
@toggle-canned-menu="toggleCannedMenu" @toggle-canned-menu="toggleCannedMenu"
/> />
<h1>{{ message }}</h1>
</div> </div>
<div v-if="hasAttachments" class="attachment-preview-box" @paste="onPaste"> <div v-if="hasAttachments" class="attachment-preview-box" @paste="onPaste">
<attachment-preview <attachment-preview