From e1246ff99f92e26d5c92da4a486df79b128fce7c Mon Sep 17 00:00:00 2001 From: Mark Kop <16388408+Markkop@users.noreply.github.com> Date: Sun, 6 Oct 2019 12:49:51 -0300 Subject: [PATCH] fix(chat): change class name because of active route (#11405) --- website/client/components/chat/chatCard.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/client/components/chat/chatCard.vue b/website/client/components/chat/chatCard.vue index 1fbc5220ac..b4daaf2ef7 100644 --- a/website/client/components/chat/chatCard.vue +++ b/website/client/components/chat/chatCard.vue @@ -26,10 +26,10 @@ div .svg-icon(v-html="icons.delete", v-once) div(v-once) {{$t('delete')}} .ml-auto.d-flex(v-b-tooltip="{title: likeTooltip(msg.likes[user._id])}", v-if='!inbox') - .action.d-flex.align-items-center.mr-0(@click='like()', v-if='likeCount > 0', :class='{active: msg.likes[user._id]}') + .action.d-flex.align-items-center.mr-0(@click='like()', v-if='likeCount > 0', :class='{activeLike: msg.likes[user._id]}') .svg-icon(v-html="icons.liked", :title='$t("liked")') | +{{ likeCount }} - .action.d-flex.align-items-center.mr-0(@click='like()', v-if='likeCount === 0', :class='{active: msg.likes[user._id]}') + .action.d-flex.align-items-center.mr-0(@click='like()', v-if='likeCount === 0', :class='{activeLike: msg.likes[user._id]}') .svg-icon(v-html="icons.like", :title='$t("like")') span(v-if='!msg.likes[user._id] && !inbox') {{ $t('like') }} @@ -106,7 +106,7 @@ div } } - .active { + .activeLike { color: $purple-300; .svg-icon {