style: remove space between terminal command and output

This commit is contained in:
uinstinct 2025-08-13 18:05:14 +05:30
parent c7fdfe4979
commit e03a0b25f9

View file

@ -117,17 +117,11 @@ export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
<TerminalCollapsibleContainer
collapsible={processedTerminalContent.isLimited}
hiddenLinesCount={processedTerminalContent.hiddenLinesCount}
className="mt-2"
className="-mt-4"
collapsedContent={
<div className="mt-2">
<Ansi>{processedTerminalContent.limitedContent}</Ansi>
</div>
}
expandedContent={
<div className="mt-2">
<Ansi>{processedTerminalContent.fullContent}</Ansi>
</div>
<Ansi>{processedTerminalContent.limitedContent}</Ansi>
}
expandedContent={<Ansi>{processedTerminalContent.fullContent}</Ansi>}
/>
)}
@ -142,7 +136,7 @@ export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
onClick={(e) => {
e.preventDefault();
// Dispatch the action to move the command to the background
dispatch(
void dispatch(
moveTerminalProcessToBackground({
toolCallId: props.toolCallId as string,
}),