configurable mentions placement
This commit is contained in:
parent
3abd357694
commit
9ea370033a
9 changed files with 75 additions and 53 deletions
|
@ -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 -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue