Only "Advanced" label should look clickable
This commit is contained in:
parent
f218a74a0c
commit
4659cab18c
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user