aboutsummaryrefslogtreecommitdiffstats
path: root/code/app
diff options
context:
space:
mode:
Diffstat (limited to 'code/app')
-rw-r--r--code/app/src/lib/components/input.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/app/src/lib/components/input.svelte b/code/app/src/lib/components/input.svelte
index c0ed654..efd8946 100644
--- a/code/app/src/lib/components/input.svelte
+++ b/code/app/src/lib/components/input.svelte
@@ -60,7 +60,7 @@
</span>
</div>
{/if}
- <div class="mt-1 {hasBling ? 'relative rounded-md' : ''} {addon ? 'flex' : ''}">
+ <div class="{label ? 'mt-1' : ''} {hasBling ? 'relative rounded-md' : ''} {addon ? 'flex' : ''}">
{#if icon}
<div class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
<svelte:component this={icon} class={errorText ? "text-red-500" : "text-gray-400"} />