Only "Advanced" label should look clickable

This commit is contained in:
Austin Chen 2022-01-06 01:48:27 -08:00
parent f218a74a0c
commit 4659cab18c

View File

@ -9,11 +9,14 @@ export function AdvancedPanel(props: { children: any }) {
<div <div
tabIndex={0} tabIndex={0}
className={clsx( className={clsx(
'cursor-pointer relative collapse collapse-arrow', 'relative collapse collapse-arrow',
collapsed ? 'collapse-close' : 'collapse-open' collapsed ? 'collapse-close' : 'collapse-open'
)} )}
> >
<div onClick={() => setCollapsed((collapsed) => !collapsed)}> <div
onClick={() => setCollapsed((collapsed) => !collapsed)}
className="cursor-pointer"
>
<div className="mt-4 mr-6 text-sm text-gray-400 text-right"> <div className="mt-4 mr-6 text-sm text-gray-400 text-right">
Advanced Advanced
</div> </div>