Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions apps/web/src/components/GitActionsControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1911,8 +1911,10 @@ export default function GitActionsControl({
<FileDiffIcon className={THREAD_DETAILS_PANEL_ICON_CLASS} aria-hidden />
<span className={cn("flex-1 text-left", THREAD_DETAILS_PANEL_LABEL_CLASS)}>Changes</span>
<span className="flex items-center gap-1 font-mono text-2xs tabular-nums">
<span className="text-success">+{formatDiffCount(changesTotals?.insertions ?? 0)}</span>
<span className="text-destructive">
<span className="text-diff-addition">
+{formatDiffCount(changesTotals?.insertions ?? 0)}
</span>
<span className="text-diff-deletion">
-{formatDiffCount(changesTotals?.deletions ?? 0)}
</span>
</span>
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/chat/V2ItemInspector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ export const V2ItemInspector = memo(function V2ItemInspector(props: V2ItemInspec
</span>
{item.additions !== undefined || item.deletions !== undefined ? (
<span>
<span className="text-success">+{formatDiffCount(item.additions ?? 0)}</span>{" "}
<span className="text-destructive">-{formatDiffCount(item.deletions ?? 0)}</span>
<span className="text-diff-addition">+{formatDiffCount(item.additions ?? 0)}</span>{" "}
<span className="text-diff-deletion">-{formatDiffCount(item.deletions ?? 0)}</span>
</span>
) : null}
{item.runId !== null ? (
Expand Down
Loading