revert emoji reaction style

This commit is contained in:
Henry Jameson 2020-02-17 22:28:14 +02:00
parent c43325acd7
commit e36647e95e
1 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,7 @@
</div> </div>
<button <button
class="emoji-reaction btn btn-default" 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)" @click="emojiOnClick(reaction.name, $event)"
@mouseenter="fetchEmojiReactionsByIfMissing()" @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> </style>