Skip to content

Commit

Permalink
chore(bridge-ui-v2): Update right top buttons to same UI styles (#14872)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodino authored and KorbinianK committed Oct 2, 2023
1 parent 067c86a commit d8f40c1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
</script>

{#if connected}
<Button class="hidden sm:flex px-[20px] py-2 mr-[8px] rounded-full" type="neutral" on:click={connectWallet}>
<span class="body-regular f-items-center space-x-2">
<svelte:component this={EthIcon} size={20} />
<Button class="hidden sm:flex pl-[10px] pr-[15px] h-[40px] mr-[8px] rounded-full" type="neutral" on:click={connectWallet}>
<span class="body-regular f-items-center">
<svelte:component this={EthIcon} size={24} />
{#if $ethBalance >= 0}
<span>{renderEthBalance($ethBalance)}</span>
<span class="ml-[6px]">{renderEthBalance($ethBalance)}</span>
{:else}
<Spinner /> <span>Fetching balance...</span>
{/if}
</span>
</Button>
<w3m-core-button balance="hide" />
<w3m-core-button class="h-[40px]" balance="hide" />
{:else}
<Button class="px-[20px] py-2 rounded-full w-[215px]" type="neutral" loading={web3modalOpen} on:click={connectWallet}>
<span class="body-regular f-items-center space-x-2">
Expand Down

0 comments on commit d8f40c1

Please sign in to comment.