Adjust button on add todo item

pull/1/head
I Made Setia Baruna 2021-01-10 01:50:56 +08:00
parent 09f029ad36
commit 78099e5407
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@
<div class="inline-flex mb-4"> <div class="inline-flex mb-4">
<Input className="mr-2" type="number" min={1} bind:value={amount} placeholder="Input amount..." /> <Input className="mr-2" type="number" min={1} bind:value={amount} placeholder="Input amount..." />
<Button className="mr-2 w-16" on:click={() => addAmount(1)}>+1</Button> <Button className="mr-2 w-16" on:click={() => addAmount(1)}>+1</Button>
<Button className="mr-2 w-16" on:click={() => addAmount(5)}>+5</Button>
<Button className="w-16" on:click={() => addAmount(10)}>+10</Button> <Button className="w-16" on:click={() => addAmount(10)}>+10</Button>
</div> </div>
<div class="text-white font-bold mb-4 text-lg rounded-xl bg-background px-4 py-2 inline-flex items-center"> <div class="text-white font-bold mb-4 text-lg rounded-xl bg-background px-4 py-2 inline-flex items-center">