forked from AkkomaGang/akkoma-fe
allow customs
This commit is contained in:
parent
41991bcac2
commit
170a406cad
1 changed files with 16 additions and 3 deletions
|
@ -11,8 +11,21 @@
|
||||||
@click="emojiOnClick(reaction.name, $event)"
|
@click="emojiOnClick(reaction.name, $event)"
|
||||||
@mouseenter="fetchEmojiReactionsByIfMissing()"
|
@mouseenter="fetchEmojiReactionsByIfMissing()"
|
||||||
>
|
>
|
||||||
<span class="reaction-emoji">{{ reaction.name }}</span>
|
<span
|
||||||
<span>{{ reaction.count }}</span>
|
v-if="reaction.url !== null"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
:src="reaction.url"
|
||||||
|
class="reaction-emoji"
|
||||||
|
>
|
||||||
|
{{ reaction.count }}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
<span class="reaction-emoji">
|
||||||
|
{{ reaction.name }}
|
||||||
|
</span>
|
||||||
|
<span>{{ reaction.count }}</span>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</UserListPopover>
|
</UserListPopover>
|
||||||
<a
|
<a
|
||||||
|
@ -45,7 +58,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
.reaction-emoji {
|
.reaction-emoji {
|
||||||
width: 1.25em;
|
width: 2.55em;
|
||||||
margin-right: 0.25em;
|
margin-right: 0.25em;
|
||||||
}
|
}
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|
Loading…
Reference in a new issue