Unnecessary padding above Name input

This commit is contained in:
Harsh Mahajan committed 2025-09-30 15:34:56 +05:30
1 parent 69d2cd6f64
commit 5cb9b634f9
1 file changed
+10 -8
+10 -8
View File
@@ -21,14 +21,16 @@
</script>
<Layout.Stack>
<header class="form-header" class:hide-divider={!$$slots.subtitle}>
<Typography.Title><slot name="title" /></Typography.Title>
{#if $$slots.subtitle}
<p>
<slot name="subtitle" />
</p>
{/if}
</header>
{#if $$slots.title || $$slots.subtitle}
<header class="form-header" class:hide-divider={!$$slots.subtitle}>
<Typography.Title><slot name="title" /></Typography.Title>
{#if $$slots.subtitle}
<p>
<slot name="subtitle" />
</p>
{/if}
</header>
{/if}
<slot />
</Layout.Stack>