Skip to content

Commit 23a6dc8

Browse files
t3dotggclaude
andcommitted
fix(web): Show more row drops its plus and minus icons
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 8612fc3 commit 23a6dc8

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎apps/web/src/components/chat/ModelPickerContent.tsx‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
type ReactNode,
2222
type RefObject,
2323
} from "react";
24-
import { MinusIcon, PlusIcon } from "lucide-react";
2524
import { ModelListRow } from "./ModelListRow";
2625
import { ModelPickerSidebar } from "./ModelPickerSidebar";
2726
import { getProviderStatusMessage, hasProviderSetup } from "./ProviderStatusBanner";
@@ -1020,13 +1019,8 @@ export const ModelPickerContent = memo(function ModelPickerContent(props: {
10201019
aria-expanded={legacySection.isExpanded}
10211020
className="group w-full cursor-pointer"
10221021
>
1023-
<span className="flex items-center gap-1.5 text-sm leading-snug text-muted-foreground group-hover:text-foreground group-data-highlighted:text-foreground">
1022+
<span className="text-sm leading-snug text-muted-foreground group-hover:text-foreground group-data-highlighted:text-foreground">
10241023
{legacySection.isExpanded ? "Show less" : "Show more"}
1025-
{legacySection.isExpanded ? (
1026-
<MinusIcon aria-hidden="true" className="size-3.5 text-current" />
1027-
) : (
1028-
<PlusIcon aria-hidden="true" className="size-3.5 text-current" />
1029-
)}
10301024
</span>
10311025
</ComboboxItem>
10321026
);

0 commit comments

Comments
 (0)