From 204f171d533607ef34542a6b2ca30f944affc36d Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Tue, 2 Jun 2026 01:51:23 -0700 Subject: [PATCH] Center conflict action and use outline buttons (#4471) --- .../src/components/right-sidebar/SourceControl.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/components/right-sidebar/SourceControl.tsx b/src/renderer/src/components/right-sidebar/SourceControl.tsx index 2e03ccb72a8..0fabdf71152 100644 --- a/src/renderer/src/components/right-sidebar/SourceControl.tsx +++ b/src/renderer/src/components/right-sidebar/SourceControl.tsx @@ -6210,10 +6210,10 @@ function DiffCommentsInlineList({ function conflictAbortButtonVariant( conflictOperation: GitConflictOperation -): 'ghost' | 'destructive' { +): 'outline' | 'destructive' { // Why: aborting a rebase is the escape hatch for this state, so it should // match the quiet conflict-review action instead of reading as a red danger path. - return conflictOperation === 'rebase' ? 'ghost' : 'destructive' + return conflictOperation === 'rebase' ? 'outline' : 'destructive' } export function ConflictSummaryCard({ @@ -6274,7 +6274,7 @@ export function ConflictSummaryCard({