fix: comment vote color

This commit is contained in:
James Xylight committed 2025-06-06 16:51:42 -07:00
1 parent 5928fe4792
commit c7f3c17001
1 file changed
+1 -1
@@ -82,7 +82,7 @@
onclick={() => castVote(vote == -1 ? 0 : -1)}
class={[
'flex flex-row-reverse items-center gap-0.5 transition-colors px-1.5 h-full cursor-pointer',
vote == 1
vote == -1
? shouldShowVoteColor(vote, 'upvotes')
: 'hover:bg-slate-100 dark:hover:bg-zinc-800',
]}