diff --git a/src/components/Input.svelte b/src/components/Input.svelte index 32fb5912..43e23fdf 100644 --- a/src/components/Input.svelte +++ b/src/components/Input.svelte @@ -22,7 +22,10 @@
+ class="flex flex-1 relative items-center bg-background rounded-2xl h-14 + focus-within:border-primary border-2 border-transparent ease-in duration-100 {className}" + style="min-height: 3.5rem;" +> {#if icon} {/if} @@ -36,5 +39,8 @@ {pattern} on:change on:input={handleInput} - class={`w-full ${icon ? 'pl-12' : 'pl-4'} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} /> + class={`w-full ${ + icon ? 'pl-12' : 'pl-4' + } min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} + />