diff --git a/src/lib/components/BottomSheet.svelte b/src/lib/components/BottomSheet.svelte index e92c842..3d3fbd6 100644 --- a/src/lib/components/BottomSheet.svelte +++ b/src/lib/components/BottomSheet.svelte @@ -28,7 +28,7 @@
e.stopPropagation()} - class="flex max-h-[70vh] min-h-[30vh] w-full items-stretch rounded-t-2xl bg-white px-4" + class="flex max-h-[70vh] min-h-[30vh] rounded-t-2xl bg-white px-4" transition:fly={{ y: 100, duration: 200 }} > {@render children?.()} diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Modal.svelte index 27c5630..125005c 100644 --- a/src/lib/components/Modal.svelte +++ b/src/lib/components/Modal.svelte @@ -29,7 +29,7 @@ >
-
e.stopPropagation()} class="max-w-full rounded-2xl bg-white p-4"> +
e.stopPropagation()} class="rounded-2xl bg-white p-4"> {@render children?.()}
diff --git a/src/lib/components/TopBar.svelte b/src/lib/components/TopBar.svelte index 6f885ef..9881d6d 100644 --- a/src/lib/components/TopBar.svelte +++ b/src/lib/components/TopBar.svelte @@ -23,7 +23,7 @@ {#if title}

{title}

{/if} -
+
{#if children} {@render children?.()} {/if} diff --git a/src/lib/components/buttons/TextButton.svelte b/src/lib/components/buttons/TextButton.svelte index 2f08ffd..c7688a5 100644 --- a/src/lib/components/buttons/TextButton.svelte +++ b/src/lib/components/buttons/TextButton.svelte @@ -1,5 +1,6 @@ -
+
{@render children?.()}
diff --git a/src/lib/components/inputs/TextInput.svelte b/src/lib/components/inputs/TextInput.svelte index 77e3e95..61f42ad 100644 --- a/src/lib/components/inputs/TextInput.svelte +++ b/src/lib/components/inputs/TextInput.svelte @@ -12,8 +12,8 @@