Skip to content

Commit f83994e

Browse files
authored
🤖 fix: refactor Output section to use DetailContent (#1000)
Changed the Output section in BashToolCall to use `DetailContent` with `px-2 py-1.5` padding, matching the Script section. This makes both sections consistent in styling. Removes the custom `<pre>` with inline styles and uses the same `<DetailContent>` component that Script uses. _Generated with `mux`_
1 parent fb77bb1 commit f83994e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/browser/components/tools/BashToolCall.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ export const BashToolCall: React.FC<BashToolCallProps> = ({
127127
result.output && (
128128
<DetailSection>
129129
<DetailLabel>Output</DetailLabel>
130-
<pre className="bg-code-bg border-success m-0 max-h-[200px] overflow-y-auto rounded border-l-2 px-2 py-1.5 text-[11px] leading-[1.4] break-words whitespace-pre-wrap">
131-
{result.output}
132-
</pre>
130+
<DetailContent className="px-2 py-1.5">{result.output}</DetailContent>
133131
</DetailSection>
134132
)
135133
)}

0 commit comments

Comments
 (0)