Skip to content

Commit 76159d9

Browse files
committed
Remove hard coded style on account select
1 parent 06f104e commit 76159d9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/modules/check/accounts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function accountSelect(
7777
`
7878
: `
7979
<div style="display: flex; align-items: center;">
80-
<select id="account-select" onchange="window.accountSelect()" style="padding: 0.5rem;">
80+
<select id="account-select" onchange="window.accountSelect();">
8181
${accountsAndBalances.map(
8282
(account: { balance: string; address: string }) =>
8383
`<option>${account.address} --- ${

src/views/Onboard.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
color: #91bced;
3939
border-color: #91bced;
4040
}
41+
42+
:global(.bn-onboard-wallet-check-section select) {
43+
padding: 0.5rem;
44+
}
4145
</style>
4246

4347
{#if $app.walletSelectInProgress}

src/views/WalletCheck.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
{/if}
335335

336336
{#if activeModal.html}
337-
<section>
337+
<section class="bn-onboard-custom bn-onboard-wallet-check-section">
338338
{@html activeModal.html}
339339
</section>
340340
{/if}

0 commit comments

Comments
 (0)