Commit 7dae5b07 authored by tom goriunov's avatar tom goriunov Committed by GitHub

`Connect` button tooltip positioned in the corner (#2710)

Fixes #2708
parent 9f3b4060
......@@ -39,11 +39,12 @@ const UserWalletButton = ({ size, variant, isPending, isAutoConnectDisabled, add
return (
<Tooltip
content={ <span>Connect your wallet<br/>to Blockscout for<br/>full-featured access</span> }
content="Connect your wallet to Blockscout for full-featured access"
disabled={ isMobile || Boolean(address) }
openDelay={ 500 }
disableOnMobile
>
<span>
<Button
ref={ ref }
size={ size }
......@@ -58,6 +59,7 @@ const UserWalletButton = ({ size, variant, isPending, isAutoConnectDisabled, add
>
{ content }
</Button>
</span>
</Tooltip>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment