Skip to content

Commit 4158a79

Browse files
[SDK] fix: Adjust swap summary border styling (#6272)
1 parent a258e7e commit 4158a79

File tree

1 file changed

+8
-2
lines changed
  • packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap

1 file changed

+8
-2
lines changed

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/SwapSummary.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,14 @@ export function SwapSummary(props: {
9898
}}
9999
>
100100
{isDifferentRecipient && (
101-
<Container flex="row" gap="sm" p="sm">
101+
<Container
102+
flex="row"
103+
gap="sm"
104+
p="sm"
105+
style={{
106+
borderBottom: `1px solid ${theme.colors.borderColor}`,
107+
}}
108+
>
102109
<WalletRow
103110
address={props.receiver}
104111
client={props.client}
@@ -119,7 +126,6 @@ export function SwapSummary(props: {
119126
background: "transparent",
120127
borderRadius: 0,
121128
border: "none",
122-
borderTop: `1px solid ${theme.colors.borderColor}`,
123129
}}
124130
/>
125131
</Container>

0 commit comments

Comments
 (0)