fix emoji reaction classes broken in develop

This commit is contained in:
Shpuld Shpuldson 2020-01-28 17:53:47 +02:00
parent 73253b87bf
commit 29806c9629

View file

@ -7,7 +7,7 @@
:class="{ 'picked-reaction': reactedWith(reaction.emoji) }" :class="{ 'picked-reaction': reactedWith(reaction.emoji) }"
@click="emojiOnClick(reaction.emoji, $event)" @click="emojiOnClick(reaction.emoji, $event)"
> >
<span>{{ reaction.emoji }}</span> <span class="reaction-emoji">{{ reaction.emoji }}</span>
<span>{{ reaction.count }}</span> <span>{{ reaction.count }}</span>
</button> </button>
</div> </div>
@ -31,12 +31,10 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-sizing: border-box; box-sizing: border-box;
&:first-child { .reaction-emoji {
width: 1.25em;
margin-right: 0.25em; margin-right: 0.25em;
} }
&:last-child {
width: 1.5em;
}
&:focus { &:focus {
outline: none; outline: none;
} }