1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-03 21:49:30 -05:00
This commit is contained in:
syuilo 2025-03-25 18:03:50 +09:00
parent 88b48b1d8e
commit 185f290373

View file

@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:moveClass="prefer.s.animation ? $style.transition_reaction_move : ''"
tag="div" :class="$style.reactions"
>
<div v-for="record in message.reactions" :key="record.reaction + record.user.id" :class="$style.reaction" @click="onReactionClick(record)">
<div v-for="record in message.reactions" :key="record.reaction + record.user.id" :class="[$style.reaction, record.user.id === $i.id ? $style.reactionMy : null]" @click="onReactionClick(record)">
<MkAvatar :user="record.user" :link="false" :class="$style.reactionAvatar"/>
<MkReactionIcon
:withTooltip="true"
@ -244,6 +244,10 @@ function showMenu(ev: MouseEvent) {
border: solid 1px var(--MI_THEME-divider);
border-radius: 999px;
padding: 8px;
&.reactionMy {
border-color: var(--MI_THEME-accent);
}
}
.reactionAvatar {