fix: add overflow hidden to Collapse component #17009 (#17011)

This commit is contained in:
GuanMu 2025-03-28 14:39:16 +08:00 committed by GitHub
parent d565802ea1
commit c7fcfc863d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ const Collapse = ({
const toggle = () => setOpen(!open)
return (
<div className={classNames('bg-background-section-burn rounded-xl', wrapperClassName)}>
<div className={classNames('bg-background-section-burn rounded-xl overflow-hidden', wrapperClassName)}>
<div className='flex cursor-pointer items-center justify-between px-3 py-2 text-xs font-medium leading-[18px] text-text-secondary' onClick={toggle}>
{title}
{