Skip to content

Commit

Permalink
fix: increase wallet button drawer translate duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 1, 2024
1 parent b805b2a commit 4bbd2ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/staking/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"modalButton": {
"connect": "Connect Wallet",
"connected": "Open Wallet",
"connecting": "Connecting Wallet...",
"reconnecting": "Reconnecting Wallet...",
"connecting": "Connecting...",
"reconnecting": "Reconnecting...",
"ariaConnected": "Open wallet account modal",
"ariaDisconnected": "Open connect wallet modal",
"balance": "Balance",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/components/WalletButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function WalletButton({
data-testid={ButtonDataTestId.Wallet_Modal}
className={cn(
'group',
'h-full w-full max-w-36 select-none justify-end overflow-x-hidden transition-all duration-300 ease-in-out motion-reduce:transition-none lg:hover:max-w-full lg:focus:max-w-full lg:active:max-w-full',
'h-full w-full max-w-36 select-none justify-end overflow-x-hidden transition-all duration-[400ms] ease-in-out motion-reduce:transition-none lg:hover:max-w-full lg:focus:max-w-full lg:active:max-w-full',
isConnected
? 'bg-session-green hover:bg-session-green hover:text-session-black px-0 py-0 hover:brightness-110'
: 'px-3 py-2',
Expand Down

0 comments on commit 4bbd2ce

Please sign in to comment.