Fix drag-drop with css and html
This commit is contained in:
parent
bab144d75a
commit
9106592e6f
1 changed files with 4 additions and 6 deletions
|
@ -213,7 +213,7 @@ function ElementsListRow(
|
||||||
|
|
||||||
return <button type="button"
|
return <button type="button"
|
||||||
className={`transition-all border-blue-500 hover:shadow-lg elements-sidebar-row whitespace-pre
|
className={`transition-all border-blue-500 hover:shadow-lg elements-sidebar-row whitespace-pre
|
||||||
text-left text-sm font-medium inline-flex group ${container.properties.type} ${buttonSelectedClass}`}
|
text-left text-sm font-medium flex items-center align-middle group ${container.properties.type} ${buttonSelectedClass}`}
|
||||||
id={key}
|
id={key}
|
||||||
key={key}
|
key={key}
|
||||||
style={style}
|
style={style}
|
||||||
|
@ -224,10 +224,8 @@ function ElementsListRow(
|
||||||
onDragLeave={(event) => HandleDragLeave(event)}
|
onDragLeave={(event) => HandleDragLeave(event)}
|
||||||
>
|
>
|
||||||
{verticalBars}
|
{verticalBars}
|
||||||
<div className='pt-2 pb-2 inline-flex'>
|
|
||||||
{text}
|
{text}
|
||||||
{container.properties.warning.length > 0 &&
|
{container.properties.warning.length > 0 &&
|
||||||
<ExclamationTriangleIcon className='pl-2 w-7' />}
|
<ExclamationTriangleIcon className='pl-2 w-7' />}
|
||||||
</div>
|
|
||||||
</button>;
|
</button>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue