Skip to content

Commit

Permalink
fix(bridge): minor faucet button adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
shadab-taiko committed Dec 22, 2022
1 parent dffc4a7 commit d920e6d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/bridge-ui/src/components/ERC20Faucet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,21 @@
}
</script>

<button class="btn" on:click={mint}>
<Funnel class="mr-2" /> Faucet
</button>
<Tooltip />
<div class="flex items-start">
<button class="btn" on:click={mint}>
<Funnel class="mr-2" /> Faucet
</button>
<button class="inline-block ml-2" on:click={() => (tooltipOpen = true)}>
<Tooltip />
</button>
</div>

<TooltipModal title="{$token.symbol} Faucet" bind:isOpen={tooltipOpen}>
<span slot="body">
<p class="text-left">
You can request 1000 {$token.symbol}. {$token.symbol} is only available to
be minted on Ethereum A1. If you are on Taiko A1, your network will be changed
first. You must have a small amount of ether in your Ethereum A1 wallet to
first. You must have a small amount of ETH in your Ethereum A1 wallet to
send the transaction.
</p>
</span>
Expand Down

0 comments on commit d920e6d

Please sign in to comment.