From db467454c134b40318f616a7b76e6f4e612dc93a Mon Sep 17 00:00:00 2001 From: eti Date: Wed, 29 Jul 2026 19:50:45 +0200 Subject: [PATCH] web/components: use default variant for comment cancel button the cancel action in the comment editor was a ghost button with hand-rolled foreground-danger overrides, which read as a destructive action. cancelling a draft isn't destructive, so it now uses the plain default variant. Signed-off-by: eti --- web/src/lib/components/comment/CommentEditor.svelte | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/web/src/lib/components/comment/CommentEditor.svelte b/web/src/lib/components/comment/CommentEditor.svelte index 609b5612..e2a351dd 100644 --- a/web/src/lib/components/comment/CommentEditor.svelte +++ b/web/src/lib/components/comment/CommentEditor.svelte @@ -145,14 +145,7 @@ {submitLabel} {#if oncancel} - {/if} -- 2.51.2