Skip to content

Commit c26be2d

Browse files
Fix wallet row alignment in wide connect modal (#7425)
1 parent 0297411 commit c26be2d

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.changeset/slow-sites-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix wallet row alignement in wide connect modal

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,14 @@ export const WalletButtonEl = /* @__PURE__ */ StyledButton((_) => {
103103
backgroundColor: theme.colors.tertiaryBg,
104104
},
105105
alignItems: "center",
106-
all: "unset",
107106
borderRadius: radius.md,
108107
boxSizing: "border-box",
109108
color: theme.colors.secondaryText,
110109
cursor: "pointer",
111110
display: "flex",
111+
flexDirection: "row",
112112
gap: spacing.sm,
113113
padding: `${spacing.xs} ${spacing.xs}`,
114-
position: "relative",
115114
transition: "background-color 200ms ease, transform 200ms ease",
116115
width: "100%",
117116
};

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,11 +710,12 @@ const ShowAllWalletsIcon = /* @__PURE__ */ StyledDiv(() => {
710710
border: `2px solid ${theme.colors.borderColor}`,
711711
borderRadius: radius.md,
712712
display: "grid",
713+
gap: spacing["4xs"],
713714
gridTemplateColumns: "1fr 1fr",
714-
height: `${iconSize.lg}px`,
715+
height: `${iconSize.xl}px`,
715716
justifyItems: "center",
716717
padding: spacing.xs,
717-
width: `${iconSize.lg}px`,
718+
width: `${iconSize.xl}px`,
718719
};
719720
});
720721

0 commit comments

Comments
 (0)