We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c656ebf commit 35631b1Copy full SHA for 35631b1
src/components/WalletButton.tsx
@@ -65,9 +65,27 @@ export const WalletButton = () => {
65
>
66
<Modal.Heading>Disconnect wallet?</Modal.Heading>
67
<Modal.Body>
68
- <Text as="p" size="sm">
69
- Connected as{" "}
70
- <code>{`${address.slice(0, 6)}...${address.slice(-6)}`}</code>
+ <Text
+ as="div"
+ size="sm"
71
+ style={{
72
+ display: "flex",
73
+ alignItems: "baseline",
74
+ minWidth: 0,
75
+ }}
76
+ >
77
+ <span style={{ flexShrink: 0 }}>Connected as </span>
78
+ <code
79
80
+ overflow: "hidden",
81
+ textOverflow: "ellipsis",
82
+ whiteSpace: "nowrap",
83
+ fontSize: "0.85em",
84
85
+ title={address}
86
87
+ {address}
88
+ </code>
89
</Text>
90
</Modal.Body>
91
<Modal.Footer itemAlignment="stack">
0 commit comments