Make avatar unselectable

This commit is contained in:
Tusooa Zhu 2022-01-10 02:10:42 -05:00
parent 9fde13c968
commit aaf0b985ad
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 4 additions and 3 deletions

View file

@ -17,6 +17,8 @@
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1.5em;
vertical-align: middle; vertical-align: middle;
user-select: none;
margin-right: 0.2em;
} }
.full { .full {

View file

@ -23,13 +23,12 @@
:href="url" :href="url"
@click.prevent="onClick" @click.prevent="onClick"
> >
<!-- eslint-disable vue/no-v-html -->
<UserAvatar <UserAvatar
v-if="shouldShowAvatar" v-if="shouldShowAvatar"
class="mention-avatar" class="mention-avatar"
:user="user" :user="user"
/> /><span
<!-- eslint-disable vue/no-v-html -->
<span
class="shortName" class="shortName"
><FAIcon ><FAIcon
v-if="useAtIcon" v-if="useAtIcon"