Skip to content

Commit

Permalink
animations
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Dec 19, 2024
1 parent 3e75fcd commit 0d6b4df
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/wallet/components/WalletDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ export function WalletDropdown({ children, className }: WalletDropdownReact) {
className={cn(
pressable.default,
color.foreground,
'absolute right-0 z-10 mt-1 flex w-max min-w-[300px] cursor-default flex-col overflow-hidden rounded-xl',
'transition-opacity',
'absolute right-0 z-10 mt-1.5 flex w-max min-w-[300px] cursor-default flex-col overflow-hidden rounded-xl',
isClosing
? 'fade-out slide-out-to-top-2.5 animate-out opacity-0 duration-150 ease-in-out'
: 'fade-in slide-in-from-top-2.5 animate-in opacity-100 duration-300 ease-out',
? 'fade-out slide-out-to-top-1.5 animate-out fill-mode-forwards ease-in-out'
: 'fade-in slide-in-from-top-1.5 animate-in duration-300 ease-out',
className,
)}
onAnimationEnd={() => {
Expand Down

0 comments on commit 0d6b4df

Please sign in to comment.