From 96cdb2d1b54ace1f651f2ce7962171310fe8a549 Mon Sep 17 00:00:00 2001 From: static Date: Wed, 8 Jan 2025 23:50:35 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20css=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/BottomSheet.svelte | 2 +- src/lib/components/Modal.svelte | 2 +- src/lib/components/TopBar.svelte | 2 +- src/lib/components/buttons/TextButton.svelte | 1 + src/lib/components/divs/BottomDiv.svelte | 2 +- src/lib/components/inputs/TextInput.svelte | 4 ++-- src/routes/(fullscreen)/+layout.svelte | 2 +- src/routes/(main)/+layout.svelte | 2 +- src/routes/(main)/BottomBar.svelte | 8 +++----- src/routes/(main)/category/+page.svelte | 2 +- src/routes/(main)/favorite/+page.svelte | 2 +- src/routes/(main)/home/+page.svelte | 2 +- src/routes/(main)/menu/+page.svelte | 2 +- 13 files changed, 16 insertions(+), 17 deletions(-) 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 @@