mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-08 13:04:34 +00:00
🎨
This commit is contained in:
parent
88b48b1d8e
commit
185f290373
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
:moveClass="prefer.s.animation ? $style.transition_reaction_move : ''"
|
:moveClass="prefer.s.animation ? $style.transition_reaction_move : ''"
|
||||||
tag="div" :class="$style.reactions"
|
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"/>
|
<MkAvatar :user="record.user" :link="false" :class="$style.reactionAvatar"/>
|
||||||
<MkReactionIcon
|
<MkReactionIcon
|
||||||
:withTooltip="true"
|
:withTooltip="true"
|
||||||
|
@ -244,6 +244,10 @@ function showMenu(ev: MouseEvent) {
|
||||||
border: solid 1px var(--MI_THEME-divider);
|
border: solid 1px var(--MI_THEME-divider);
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
|
&.reactionMy {
|
||||||
|
border-color: var(--MI_THEME-accent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.reactionAvatar {
|
.reactionAvatar {
|
||||||
|
|
Loading…
Add table
Reference in a new issue