Skip to content

Commit f18d007

Browse files
committed
UI tweaks
1 parent eaee2fc commit f18d007

File tree

2 files changed

+376
-149
lines changed

2 files changed

+376
-149
lines changed

webview-ui/src/components/chat/TaskHeader.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ const TaskHeader = ({
7171
</StandardTooltip>
7272
)
7373

74+
const hasTodos = todos && Array.isArray(todos) && todos.length > 0
75+
7476
return (
7577
<div className="py-2 px-3">
7678
<div
7779
className={cn(
78-
"rounded-xs p-2.5 flex flex-col gap-1.5 relative z-1 border",
80+
"p-2.5 flex flex-col gap-1.5 relative z-1 border",
81+
hasTodos ? "rounded-t-xs border-b-0" : "rounded-xs",
7982
isTaskExpanded
8083
? "border-vscode-panel-border text-vscode-foreground"
8184
: "border-vscode-panel-border/80 text-vscode-foreground/80",

0 commit comments

Comments
 (0)