diff --git a/frontend/src/components/StagePanel.tsx b/frontend/src/components/StagePanel.tsx index 0c3e8a8..726751a 100644 --- a/frontend/src/components/StagePanel.tsx +++ b/frontend/src/components/StagePanel.tsx @@ -169,33 +169,19 @@ export function StagePanel({ const borderColor = TYPE_COLORS[itemType]; const typeLabel = TYPE_LABELS[itemType]; const hasMergeFailure = Boolean(item.merge_failure); - return ( -
const cardStyle = { - border: item.agent ? "1px solid #2a3a4a" : "1px solid #2a2a2a", + border: hasMergeFailure + ? "1px solid #6e1b1b" + : item.agent + ? "1px solid #2a3a4a" + : "1px solid #2a2a2a", borderRadius: "8px", padding: "8px 12px", - background: item.agent ? "#161e2a" : "#191919", + background: hasMergeFailure + ? "#1f1010" + : item.agent + ? "#161e2a" + : "#191919", display: "flex", flexDirection: "column" as const, gap: "2px",