From 23f0c92aed9bd8235ad1cc6b62aa3c9bf8674370 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Fri, 24 Apr 2026 23:19:37 -0400 Subject: [PATCH] fix: disable styles on comment reactions --- SharpbinV3.Client/src/lib/components/PasteCommentItem.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SharpbinV3.Client/src/lib/components/PasteCommentItem.svelte b/SharpbinV3.Client/src/lib/components/PasteCommentItem.svelte index a9f257a..ba8441b 100644 --- a/SharpbinV3.Client/src/lib/components/PasteCommentItem.svelte +++ b/SharpbinV3.Client/src/lib/components/PasteCommentItem.svelte @@ -154,7 +154,7 @@ type="button" class="h-7 min-w-12 rounded border px-2 py-1 text-xs {node.userReaction !== 1 ? 'hover:bg-neutral-800 active:bg-neutral-700' - : 'hover:bg-green-800 active:bg-green-700'}" + : 'hover:bg-green-800 active:bg-green-700'} disabled:cursor-not-allowed disabled:hover:bg-transparent" class:border-green-700={node.userReaction === 1} class:bg-green-900={node.userReaction === 1} class:text-green-200={node.userReaction === 1} @@ -170,7 +170,7 @@ type="button" class="h-7 min-w-12 rounded border px-2 py-1 text-xs {node.userReaction !== 2 ? 'hover:bg-neutral-800 active:bg-neutral-700' - : 'hover:bg-red-800 active:bg-red-700'}" + : 'hover:bg-red-800 active:bg-red-700'} disabled:cursor-not-allowed disabled:hover:bg-transparent" class:border-red-700={node.userReaction === 2} class:bg-red-900={node.userReaction === 2} class:text-red-200={node.userReaction === 2}