Skip to content

Commit 944380a

Browse files
committed
[SDK] Fix wallet avatar in ConnectButton and Modal
1 parent 5de5c44 commit 944380a

File tree

1 file changed

+3
-3
lines changed
  • packages/thirdweb/src/react/web/ui/ConnectWallet

1 file changed

+3
-3
lines changed

packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ export const ConnectedWalletDetails: React.FC<{
224224
alt=""
225225
src={avatarSrc}
226226
style={{
227-
width: "100%",
228227
height: "100%",
228+
maxWidth: "unset",
229229
}}
230230
/>
231231
) : (
@@ -410,8 +410,8 @@ function DetailsModal(props: {
410410
<img
411411
src={avatarSrc}
412412
style={{
413-
width: iconSize.xxl,
414-
height: iconSize.xxl,
413+
height: "100%",
414+
maxWidth: "unset",
415415
}}
416416
alt=""
417417
/>

0 commit comments

Comments
 (0)