fix: align emojis (#255)

This commit is contained in:
Em_Dev
2024-04-11 21:34:04 +01:00
committed by GitHub
parent 6c12411dca
commit 75ad73b97f
@@ -140,13 +140,13 @@
{/if} {/if}
</div> </div>
<div class="flex gap-4 px-3"> <div class="flex items-center gap-4 px-3">
<div class="flex gap-4 px-3"> <div class="flex items-center gap-4 px-3">
{#each Object.keys(feed.reaction) as reactionType} {#each Object.keys(feed.reaction) as reactionType}
{#if reactions[reactionType]} {#if reactions[reactionType]}
<button <button
on:click={() => handleAddNewReaction(reactionType)} on:click={() => handleAddNewReaction(reactionType)}
class={`flex transition ${ class={`flex items-center transition ${
feed.reaction[reactionType].length >= 1 && feed.reaction[reactionType].length >= 1 &&
`${getClassIfSelectedByAuthor(reactionType)} dark:text-black border rounded-full` `${getClassIfSelectedByAuthor(reactionType)} dark:text-black border rounded-full`
}`} }`}