diff --git a/src/lib/components/internal/ContactFormComponent.svelte b/src/lib/components/internal/ContactFormComponent.svelte index d20d8d6..7a71522 100644 --- a/src/lib/components/internal/ContactFormComponent.svelte +++ b/src/lib/components/internal/ContactFormComponent.svelte @@ -266,14 +266,15 @@
{#if showError("consent")} - + {/if} -

{t(T.contact_privacy_note)}

+

{t(T.contact_privacy_note)}

{#if TURNSTILE_ENABLED} diff --git a/src/lib/ui/Checkbox.svelte b/src/lib/ui/Checkbox.svelte index 470fe48..cb29d4e 100644 --- a/src/lib/ui/Checkbox.svelte +++ b/src/lib/ui/Checkbox.svelte @@ -5,19 +5,29 @@ label = '', name = '', value = '', + size = 'md' as 'sm' | 'md', } = $props(); + + const boxClass = $derived( + size === 'sm' + ? 'h-4 w-4 mt-0.5 rounded-sm border-[1.5px]' + : 'h-5 w-5 rounded border-[1.5px]', + ); + const textClass = $derived( + size === 'sm' ? 'ml-2 text-xs leading-snug text-stein-700' : 'ml-2 text-base text-stein-700', + ); -