diff options
Diffstat (limited to 'src/components/mention_link/mention_link.vue')
| -rw-r--r-- | src/components/mention_link/mention_link.vue | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue index 05f6fd91..0dae1f53 100644 --- a/src/components/mention_link/mention_link.vue +++ b/src/components/mention_link/mention_link.vue @@ -1,5 +1,8 @@ <template> - <span class="MentionLink"> +<span + class="MentionLink" + :class="{ '-oldPlace': oldPlace }" +> <!-- eslint-disable vue/no-v-html --> <a v-if="!user" @@ -15,8 +18,8 @@ :class="classnames" > <button - class="short button-default" - :class="{ '-sublime': !highlight }" + class="short" + :class="[{ '-sublime': !highlight }, oldStyle ? 'button-unstyled' : 'button-default']" @click.prevent="onClick" > <!-- eslint-disable vue/no-v-html --> |
