tweak collapsible

This commit is contained in:
Josh Hawkins 2026-05-19 18:38:57 -05:00
parent f0271a802f
commit 4a22448408

View File

@ -1288,11 +1288,6 @@ export function ConfigSection({
<CollapsibleTrigger asChild> <CollapsibleTrigger asChild>
<div className="flex cursor-pointer items-center justify-between"> <div className="flex cursor-pointer items-center justify-between">
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
{isOpen ? (
<LuChevronDown className="h-4 w-4 text-muted-foreground" />
) : (
<LuChevronRight className="h-4 w-4 text-muted-foreground" />
)}
<Heading as="h4">{title}</Heading> <Heading as="h4">{title}</Heading>
{showOverrideIndicator && {showOverrideIndicator &&
effectiveLevel === "camera" && effectiveLevel === "camera" &&
@ -1323,12 +1318,17 @@ export function ConfigSection({
})} })}
</Badge> </Badge>
)} )}
{isOpen ? (
<LuChevronDown className="h-4 w-4 text-muted-foreground" />
) : (
<LuChevronRight className="h-4 w-4 text-muted-foreground" />
)}
</div> </div>
</div> </div>
</CollapsibleTrigger> </CollapsibleTrigger>
<CollapsibleContent> <CollapsibleContent>
<div className="pl-7">{sectionContent}</div> <div className="pl-0">{sectionContent}</div>
</CollapsibleContent> </CollapsibleContent>
</div> </div>
</Collapsible> </Collapsible>