refac: styling

This commit is contained in:
Timothy J. Baek 2024-10-19 02:23:10 -07:00
parent 545f2a0fe2
commit 3c1afa97af

View File

@ -61,9 +61,14 @@
<div <div
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer rounded-xl" class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer rounded-xl"
> >
<div class="flex-1 flex items-center gap-2"> <div class="flex-1">
<Tooltip
content={tools[toolId]?.description ?? ''}
placement="top-start"
className="flex flex-1 gap-2 items-center"
>
<WrenchSolid /> <WrenchSolid />
<Tooltip content={tools[toolId]?.description ?? ''} className="flex-1">
<div class=" line-clamp-1">{tools[toolId].name}</div> <div class=" line-clamp-1">{tools[toolId].name}</div>
</Tooltip> </Tooltip>
</div> </div>