fix: Render inbox icon properly (#3219)

This commit is contained in:
Pranav Raj S 2021-10-14 20:18:43 +05:30 committed by GitHub
parent 0c65db925d
commit ed25435ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View file

@ -128,6 +128,10 @@ export default {
color: var(--w-100); color: var(--w-100);
} }
} }
.icon {
color: var(--white);
}
} }
.left { .left {
@ -138,12 +142,6 @@ export default {
} }
} }
.right {
.icon {
color: var(--white);
}
}
.message-text--metadata { .message-text--metadata {
align-items: flex-end; align-items: flex-end;
display: flex; display: flex;
@ -202,6 +200,10 @@ export default {
.time { .time {
color: var(--s-400); color: var(--s-400);
} }
.icon {
color: var(--s-400);
}
} }
&.is-image { &.is-image {

View file

@ -5,7 +5,7 @@
<h5 class="option__title"> <h5 class="option__title">
{{ name }} {{ name }}
<span v-if="identifier" class="user-identifier"> <span v-if="identifier" class="user-identifier">
( id: {{ identifier }} ) (ID: {{ identifier }})
</span> </span>
</h5> </h5>
<p class="option__body"> <p class="option__body">

View file

@ -64,7 +64,7 @@ export default {
return this.chatAdditionalAttributes.type || 'facebook'; return this.chatAdditionalAttributes.type || 'facebook';
}, },
inboxBadge() { inboxBadge() {
const badgeKey = ''; let badgeKey = '';
if (this.isATwitterInbox) { if (this.isATwitterInbox) {
badgeKey = this.twitterBadge; badgeKey = this.twitterBadge;
} else if (this.isAFacebookInbox) { } else if (this.isAFacebookInbox) {