Fixed bug on sidebar

This commit is contained in:
Lucas Oliveira 2023-02-14 17:55:13 -03:00
commit cf2cdd7691

View file

@ -53,9 +53,9 @@ export default function ExtraSidebar() {
style={{ borderLeftColor: nodeColors[d] }}
onDragStart={(event) => onDragStart(event, "promptNode")}
>
<div className="flex justify-between text-sm px-4 py-3 items-center border-dashed border-gray-400 border-l-0 rounded-md rounded-l-none border-2">
<span className="text-black truncate">{t}</span>
<Bars2Icon className="ml-3 w-6 h-6 text-gray-400" />
<div className="flex w-full justify-between text-sm px-4 py-3 items-center border-dashed border-gray-400 border-l-0 rounded-md rounded-l-none border-2">
<span className="text-black w-36 truncate">{t}</span>
<Bars2Icon className="w-6 h-6 text-gray-400" />
</div>
</div>
</div>