Skip to content

Commit

Permalink
Fix lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
arayaryoma authored and arayaryoma committed Jul 18, 2021
1 parent a1af615 commit 8cc7149
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/components/emoji/Reaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ export default defineComponent({

<template>
<div
:class="
'reaction' + (hasReacted ? ' reacted' : '') + (darkMode ? ' dark' : '')
"
@click="toggleReacted"
>
<img class="reaction_icon" :src="src" /> 5
:class="
'reaction' + (hasReacted ? ' reacted' : '') + (darkMode ? ' dark' : '')
"
@click="toggleReacted">
<img class="reaction_icon" :src="src"> 5
</div>
</template>

Expand All @@ -45,17 +44,17 @@ export default defineComponent({
.reaction.reacted:not(.dark),
.reaction.reacted:not(.dark):hover {
box-shadow: inset 0 0 0 1.5px rgb(29, 155, 209);
background-color: rgba(29, 155, 209, 0.1);
color: rgb(18, 100, 163);
background-color: rgba(29, 155, 209, 0.1);
border-color: transparent;
box-shadow: inset 0 0 0 1.5px rgb(29, 155, 209);
}
.reaction.reacted.dark,
.reaction.reacted.dark:hover {
box-shadow: none;
background-color: #1264a3;
border-color: #1264a3;
box-shadow: none;
}
.reaction:hover {
Expand Down

0 comments on commit 8cc7149

Please sign in to comment.