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 Oct 2, 2023
1 parent 12c90be commit f18c277
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

1 comment on commit f18c277

@vercel
Copy link

@vercel vercel bot commented on f18c277 Oct 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bridge-ui-v2-internal – ./packages/bridge-ui-v2

bridge-ui-v2-internal-taikoxyz.vercel.app
bridge-ui-v2-internal-git-main-taikoxyz.vercel.app
bridge-ui-v2-internal.vercel.app

Please sign in to comment.