mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: Confirmed the follow-up styling tweak is in place: chat titles now render without font-semibold
This commit is contained in:
parent
f14b9683dd
commit
ae2ea0f53d
2 changed files with 3 additions and 6 deletions
|
|
@ -86,12 +86,9 @@ const TaskItem = ({
|
|||
)}
|
||||
data-testid="task-content">
|
||||
{displayHighlight ? (
|
||||
<span
|
||||
className={cn(showTitle && "font-semibold")}
|
||||
dangerouslySetInnerHTML={{ __html: displayHighlight }}
|
||||
/>
|
||||
<span dangerouslySetInnerHTML={{ __html: displayHighlight }} />
|
||||
) : (
|
||||
<span className={cn(showTitle && "font-semibold")}>{displayText}</span>
|
||||
<span>{displayText}</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ describe("TaskItem", () => {
|
|||
const content = screen.getByTestId("task-content")
|
||||
expect(content).toHaveTextContent("Important task")
|
||||
expect(content).not.toHaveTextContent("Test task")
|
||||
expect(content.querySelector("span")?.className).toContain("font-semibold")
|
||||
expect(content.querySelector("span")?.className || "").not.toContain("font-semibold")
|
||||
})
|
||||
|
||||
it("falls back to task text when feature disabled", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue