chore(webview-ui): use warning triangle and warning color for error header to match diff_error

This commit is contained in:
Merge Resolver 2025-08-21 17:22:59 -06:00
parent d3031380a3
commit 0f4748222c

View file

@ -1099,8 +1099,8 @@ export const ChatRowContent = ({
}}>
<DisclosureHeader
contentId={`error-${message.ts}`}
iconClass="codicon-error"
iconStyle={{ color: "var(--vscode-errorForeground)", opacity: 0.8 }}
iconClass="codicon-warning"
iconStyle={{ color: "var(--vscode-editorWarning-foreground)", opacity: 0.8 }}
title={<span style={{ fontWeight: "bold" }}>{t("chat:error")}</span>}
expanded={isErrorExpanded}
onToggle={() => setIsErrorExpanded(!isErrorExpanded)}