style: remove space between terminal command and output
This commit is contained in:
parent
c7fdfe4979
commit
e03a0b25f9
1 changed files with 4 additions and 10 deletions
|
|
@ -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,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue