forked from AkkomaGang/akkoma-fe
revert emoji reaction style
This commit is contained in:
parent
c43325acd7
commit
e36647e95e
1 changed files with 7 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
<button
|
||||
class="emoji-reaction btn btn-default"
|
||||
:class="{ 'toggled': reactedWith(reaction.name), 'not-clickable': !loggedIn }"
|
||||
:class="{ 'picked-reaction': reactedWith(reaction.name), 'not-clickable': !loggedIn }"
|
||||
@click="emojiOnClick(reaction.name, $event)"
|
||||
@mouseenter="fetchEmojiReactionsByIfMissing()"
|
||||
>
|
||||
|
@ -127,4 +127,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.picked-reaction {
|
||||
border: 1px solid var(--accent, $fallback--link);
|
||||
margin-left: -1px; // offset the border, can't use inset shadows either
|
||||
margin-right: calc(0.5em - 1px);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue