fix: 🎨 Prettier
This commit is contained in:
parent
54fde47f3c
commit
7dd48d3689
3 changed files with 8 additions and 10 deletions
|
|
@ -8,12 +8,12 @@ interface IndicatorBarProps {
|
|||
export function IndicatorBar({ text, isExpanded }: IndicatorBarProps) {
|
||||
return (
|
||||
<div className="absolute left-0 right-0 top-0 z-10 flex h-8 items-start justify-center pt-1">
|
||||
<div className="flex items-center gap-2 rounded border border-border bg-editor px-2 py-1 text-[11px] text-description shadow-sm">
|
||||
<div className="border-border bg-editor text-description flex items-center gap-2 rounded border px-2 py-1 text-[11px] shadow-sm">
|
||||
<span>{text}</span>
|
||||
<ChevronDownIcon
|
||||
className={`h-3 w-3 text-description ${isExpanded ? "" : "rotate-180"}`}
|
||||
className={`text-description h-3 w-3 ${isExpanded ? "" : "rotate-180"}`}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
|
|||
|
||||
{/* Status information */}
|
||||
{(statusMessage || isRunning) && (
|
||||
<div className="mt-2 flex items-center px-2 text-xs text-description">
|
||||
<div className="text-description mt-2 flex items-center px-2 text-xs">
|
||||
<StatusIcon status={statusType} />
|
||||
{isRunning ? "Running" : statusMessage}
|
||||
{isRunning && props.toolCallId && (
|
||||
|
|
@ -146,7 +146,7 @@ export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
|
|||
}),
|
||||
);
|
||||
}}
|
||||
className="ml-3 cursor-pointer text-xs text-link no-underline hover:underline"
|
||||
className="text-link ml-3 cursor-pointer text-xs no-underline hover:underline"
|
||||
>
|
||||
Move to background
|
||||
</span>
|
||||
|
|
@ -155,4 +155,4 @@ export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) {
|
|||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,13 +51,11 @@ export function TerminalCollapsibleContainer({
|
|||
>
|
||||
{/* Gradient overlay on top of content - only when collapsed */}
|
||||
{!isExpanded && hiddenLinesCount > 0 && (
|
||||
<div
|
||||
className="pointer-events-none absolute left-[9px] right-[9px] top-4 z-[5] h-[100px] rounded-t-md bg-gradient-to-b from-editor to-transparent"
|
||||
/>
|
||||
<div className="from-editor pointer-events-none absolute left-[9px] right-[9px] top-4 z-[5] h-[100px] rounded-t-md bg-gradient-to-b to-transparent" />
|
||||
)}
|
||||
|
||||
{isExpanded ? expandedContent : collapsedContent}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue