forked from AkkomaGang/akkoma-fe
Make avatar unselectable
This commit is contained in:
parent
9fde13c968
commit
aaf0b985ad
2 changed files with 4 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue