mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Merge pull request #1452 from RooVetGit/task_header_fixes
UI tweaks to task header
This commit is contained in:
commit
71f1ab01aa
1 changed files with 6 additions and 4 deletions
|
|
@ -175,6 +175,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
|
|||
flexGrow: 1,
|
||||
minWidth: 0, // This allows the div to shrink below its content size
|
||||
}}>
|
||||
<span style={{ fontWeight: "bold" }}>Task{!isTaskExpanded && ":"}</span>
|
||||
{!isTaskExpanded && (
|
||||
<span style={{ marginLeft: 4 }}>{highlightMentions(task.text, false)}</span>
|
||||
)}
|
||||
|
|
@ -199,7 +200,7 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
|
|||
<VSCodeButton
|
||||
appearance="icon"
|
||||
onClick={onClose}
|
||||
style={{ marginLeft: 6, flexShrink: 0 }}
|
||||
style={{ marginLeft: 6, flexShrink: 0, color: "var(--vscode-badge-foreground)" }}
|
||||
title="Close task and start a new one">
|
||||
<span className="codicon codicon-close"></span>
|
||||
</VSCodeButton>
|
||||
|
|
@ -249,9 +250,10 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
|
|||
<div
|
||||
style={{
|
||||
cursor: "pointer",
|
||||
color: "var(--vscode-textLink-foreground)",
|
||||
paddingRight: 0,
|
||||
paddingLeft: 3,
|
||||
color: "var(--vscode-badge-foreground)",
|
||||
fontSize: "11px",
|
||||
paddingRight: 8,
|
||||
paddingLeft: 4,
|
||||
backgroundColor: "var(--vscode-badge-background)",
|
||||
}}
|
||||
onClick={() => setIsTextExpanded(!isTextExpanded)}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue