added new form page

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-12-12 20:36:17 +01:00
parent 5a71b084f5
commit 4cd2ed9a8a
4 changed files with 36 additions and 15 deletions

View file

@ -2,10 +2,10 @@
export let options:string[]
</script>
<div class="flex justify-between">
<div class="flex justify-between w-full">
{#each options as data, index (data)}
<div class="flex flex-col justify-center items-center w-24 ">
<button name={data} class="h-7 w-7 rounded-full border-2 border-primary hover:bg-primary"></button>
<div class="flex flex-col justify-start items-center w-12 text-center">
<button name={data} class="h-6 w-6 rounded-full border-2 border-primary hover:bg-primary"></button>
<label class="text-primary text-sm mt-1" for={data}>{data}</label>
</div>
{/each}