Skip to content

Commit

Permalink
Improve: reactions - add shadow behind emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
fs5m8 committed Jan 3, 2023
1 parent 66183c3 commit 518e5b2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@mouseleave="onMouseleave"
ref="reaction"
>
<mk-reaction-icon :reaction="reaction" :customEmojis="note.emojis" ref="icon"/>
<mk-reaction-icon class="icon" :reaction="reaction" :customEmojis="note.emojis" ref="icon"/>
<span>{{ count }}</span>
</span>
</template>
Expand Down Expand Up @@ -185,6 +185,9 @@ export default Vue.extend({
> span
color var(--primaryForeground)
> .icon
filter drop-shadow(0 0 2px rgba(0, 0, 0, 0.5))
&:not(.reacted)
background var(--reactionViewerButtonBg)
Expand Down

0 comments on commit 518e5b2

Please sign in to comment.