mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 17:15:13 +00:00
fix(client): make emoji stand out more on reaction button
Fix #8520 Close #8521 Co-Authored-By: Johann150 <20990607+Johann150@users.noreply.github.com>
This commit is contained in:
parent
68f9341e95
commit
b811de53b6
1 changed files with 8 additions and 4 deletions
|
@ -7,8 +7,8 @@
|
|||
:class="{ reacted: note.myReaction == reaction, canToggle }"
|
||||
@click="toggleReaction()"
|
||||
>
|
||||
<XReactionIcon :reaction="reaction" :custom-emojis="note.emojis"/>
|
||||
<span>{{ count }}</span>
|
||||
<XReactionIcon class="icon" :reaction="reaction" :custom-emojis="note.emojis"/>
|
||||
<span class="count">{{ count }}</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
|
@ -141,12 +141,16 @@ export default defineComponent({
|
|||
background: var(--accent);
|
||||
}
|
||||
|
||||
> span {
|
||||
> .count {
|
||||
color: var(--fgOnAccent);
|
||||
}
|
||||
|
||||
> .icon {
|
||||
filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
}
|
||||
|
||||
> span {
|
||||
> .count {
|
||||
font-size: 0.9em;
|
||||
line-height: 32px;
|
||||
margin: 0 0 0 4px;
|
||||
|
|
Loading…
Reference in a new issue