👽 updated to fit api
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
6d831193f9
commit
c8590308b0
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@
|
|||
|
||||
<div class="flex justify-between w-full">
|
||||
{#each options as data, index (data)}
|
||||
<button name={data} on:click={() => handleButtonClick(data)} class="flex flex-col justify-start items-center w-12 text-center">
|
||||
<button name={data} on:click={() => handleButtonClick(data)} class="flex flex-col justify-start items-center w-12 text-center hover:cursor-pointer">
|
||||
<div class={`${selected == data && "bg-primary"} h-6 w-6 rounded-full border-2 border-primary hover:bg-primary`}></div>
|
||||
<label class="text-primary text-sm mt-1" for={data}>{data}</label>
|
||||
<label class="text-primary text-sm mt-1 hover:cursor-pointer" for={data}>{data}</label>
|
||||
</button>
|
||||
{/each}
|
||||
</div>
|
||||
|
|
Reference in a new issue