Skip to content

Commit 71f1ab0

Browse files
authored
Merge pull request RooCodeInc#1452 from RooVetGit/task_header_fixes
UI tweaks to task header
2 parents 05edd97 + 25d41a5 commit 71f1ab0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
175175
flexGrow: 1,
176176
minWidth: 0, // This allows the div to shrink below its content size
177177
}}>
178+
<span style={{ fontWeight: "bold" }}>Task{!isTaskExpanded && ":"}</span>
178179
{!isTaskExpanded && (
179180
<span style={{ marginLeft: 4 }}>{highlightMentions(task.text, false)}</span>
180181
)}
@@ -199,7 +200,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
199200
<VSCodeButton
200201
appearance="icon"
201202
onClick={onClose}
202-
style={{ marginLeft: 6, flexShrink: 0 }}
203+
style={{ marginLeft: 6, flexShrink: 0, color: "var(--vscode-badge-foreground)" }}
203204
title="Close task and start a new one">
204205
<span className="codicon codicon-close"></span>
205206
</VSCodeButton>
@@ -249,9 +250,10 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
249250
<div
250251
style={{
251252
cursor: "pointer",
252-
color: "var(--vscode-textLink-foreground)",
253-
paddingRight: 0,
254-
paddingLeft: 3,
253+
color: "var(--vscode-badge-foreground)",
254+
fontSize: "11px",
255+
paddingRight: 8,
256+
paddingLeft: 4,
255257
backgroundColor: "var(--vscode-badge-background)",
256258
}}
257259
onClick={() => setIsTextExpanded(!isTextExpanded)}>

0 commit comments

Comments
 (0)