[dyad] Improve headline control icons - wrote 1 file(s)

This commit is contained in:
[dyad]
2026-01-21 08:55:20 +01:00
parent 1f204a523b
commit a05e5b98ed

View File

@@ -6,8 +6,8 @@ import type { HeadlineNode } from "@/app/actions";
import { KeywordHighlighter } from "./keyword-highlighter"; import { KeywordHighlighter } from "./keyword-highlighter";
import { import {
ChevronDown, ChevronDown,
ChevronsUp, Expand,
ChevronsDown, Collapse,
AlertTriangle, AlertTriangle,
} from "lucide-react"; } from "lucide-react";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
@@ -209,7 +209,7 @@ export function HeadlineTree({ headlines, keyword }: HeadlineTreeProps) {
onClick={expandAll} onClick={expandAll}
className="h-8 w-8" className="h-8 w-8"
> >
<ChevronsUp className="h-4 w-4" /> <Expand className="h-4 w-4" />
<span className="sr-only">Expand All</span> <span className="sr-only">Expand All</span>
</Button> </Button>
</TooltipTrigger> </TooltipTrigger>
@@ -227,7 +227,7 @@ export function HeadlineTree({ headlines, keyword }: HeadlineTreeProps) {
onClick={collapseAll} onClick={collapseAll}
className="h-8 w-8" className="h-8 w-8"
> >
<ChevronsDown className="h-4 w-4" /> <Collapse className="h-4 w-4" />
<span className="sr-only">Collapse All</span> <span className="sr-only">Collapse All</span>
</Button> </Button>
</TooltipTrigger> </TooltipTrigger>