allow customs

This commit is contained in:
FloatingGhost 2022-06-08 02:40:20 +01:00 committed by Absturztaube
parent 89a37d84b2
commit ca5d0bea60

View file

@ -11,8 +11,21 @@
@click="emojiOnClick(reaction.name, $event)"
@mouseenter="fetchEmojiReactionsByIfMissing()"
>
<span class="reaction-emoji">{{ reaction.name }}</span>
<span>{{ reaction.count }}</span>
<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>
</UserListPopover>
<a
@ -45,7 +58,7 @@
justify-content: center;
box-sizing: border-box;
.reaction-emoji {
width: 1.25em;
width: 2.55em;
margin-right: 0.25em;
}
&:focus {