File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -307,14 +307,10 @@ rpc: ${chain?.rpcUrls?.default?.http?.[0] ?? chain?.rpcUrls?.public?.http?.[
307307 </ >
308308 ) }
309309
310- { selected ? (
311- ! account && (
312- < button type = "button" className = "connect" onClick = { connect } >
313- Connect Wallet
314- </ button >
315- )
316- ) : (
317- < p > Please select a wallet</ p >
310+ { selected && ! account && (
311+ < button type = "button" className = "wallet-connect" onClick = { connect } >
312+ Connect Wallet
313+ </ button >
318314 ) }
319315
320316 { selected && account && (
@@ -341,7 +337,7 @@ rpc: ${chain?.rpcUrls?.default?.http?.[0] ?? chain?.rpcUrls?.public?.http?.[
341337 ) }
342338
343339 { selected && account && pending && (
344- < button type = "button" onClick = { signAndSendCurrent } >
340+ < button type = "button" className = "wallet-send" onClick = { signAndSendCurrent } >
345341 Sign & Send
346342 </ button >
347343 ) }
Original file line number Diff line number Diff line change 1717 border-radius : 8px ;
1818}
1919
20- /* .header {
21- display: flex;
22- flex-direction: column;
23- align-items: center;
24- margin-bottom: 24px;
25- } */
26-
2720.banner {
2821 width : 600px ;
2922 border-radius : 8px ;
3023 height : auto;
3124}
3225
3326.wallet-selector {
27+ align-self : center;
3428 margin-top : 16px ;
3529}
3630
31+ .wallet-connect {
32+ align-self : center;
33+ }
34+
35+ .wallet-send {
36+ align-self : center;
37+ }
38+
3739.title {
3840 font-size : 36px ;
3941 color : # f8f8f8 ;
You can’t perform that action at this time.
0 commit comments