style: menu animations (#2401)

This commit is contained in:
Aman Harwara
2023-08-10 22:17:36 +05:30
committed by GitHub
parent c60158c123
commit fd26966a03
7 changed files with 172 additions and 86 deletions

View File

@@ -45,10 +45,8 @@ const Tooltip = ({ text }: { text: string }) => {
title="Info"
anchorElement={anchorElement}
disableMobileFullscreenTakeover
className={classNames(
'w-60 translate-x-2 translate-y-1 select-none rounded border border-border shadow-main',
'z-modal bg-default px-3 py-1.5 text-left',
)}
className="z-modal bg-default px-3 py-1.5 text-left"
containerClassName="w-60"
>
{text}
</Popover>