Skip to content

Commit b36a46d

Browse files
author
catlog22
committed
fix(ui): prevent dropdown truncation in Collapsible content
Apply overflow-hidden only when collapsible is closed, allowing dropdown menus to overflow properly when expanded.
1 parent 899a92f commit b36a46d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ccw/frontend/src/components/ui/Collapsible.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const CollapsibleContent = React.forwardRef<
1313
<CollapsiblePrimitive.Content
1414
ref={ref}
1515
className={cn(
16-
"overflow-hidden transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
16+
"transition-all data-[state=closed]:overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
1717
className
1818
)}
1919
{...props}

0 commit comments

Comments
 (0)