configurable mentions placement

This commit is contained in:
Henry Jameson 2021-06-08 12:58:28 +03:00
parent 3abd357694
commit 9ea370033a
9 changed files with 75 additions and 53 deletions

View file

@ -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 -->