Skip to content

Commit

Permalink
feat: input padding and distance to label
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 committed Jan 14, 2025
1 parent 9cb7f5a commit 9c507dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/Form/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
round: 'rounded-full',
},
padding: {
base: 'px-3 py-2',
round: 'px-4 py-2',
base: 'px-4 py-3',
round: 'px-5 py-3',
},
roundedSize: {
tiny: 'rounded-xl',
Expand Down Expand Up @@ -78,7 +78,7 @@
<label id={labelId} for={inputId} class={labelStyles({ size })}>{label}</label>
{/if}

<div class="relative">
<div class="relative mt-1.5">
<input
id={label && inputId}
aria-labelledby={label && labelId}
Expand Down

0 comments on commit 9c507dc

Please sign in to comment.