Fix tooltip showing on both sides of file picker (#2124)

fix tooltip showing on both sides of file picker
This commit is contained in:
Sean Hatfield 2024-08-15 12:17:43 -07:00 committed by GitHub
parent fd16773295
commit df248d40d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ export default function WorkspaceFileRow({
}`} }`}
> >
<div <div
data-tooltip-id={`directory-item-${item.url}`} data-tooltip-id={`ws-directory-item-${item.url}`}
className="col-span-10 w-fit flex gap-x-[4px] items-center relative" className="col-span-10 w-fit flex gap-x-[4px] items-center relative"
> >
<File <File
@ -77,7 +77,7 @@ export default function WorkspaceFileRow({
)} )}
</div> </div>
<Tooltip <Tooltip
id={`directory-item-${item.url}`} id={`ws-directory-item-${item.url}`}
place="bottom" place="bottom"
delayShow={800} delayShow={800}
className="tooltip invert z-99" className="tooltip invert z-99"