불필요한 css 제거

This commit is contained in:
static
2025-01-08 23:50:35 +09:00
parent 6559381ed4
commit 96cdb2d1b5
13 changed files with 16 additions and 17 deletions

View File

@@ -28,7 +28,7 @@
<AdaptiveDiv>
<div
onclick={(e) => 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?.()}

View File

@@ -29,7 +29,7 @@
>
<AdaptiveDiv>
<div class="flex h-full items-center justify-center">
<div onclick={(e) => e.stopPropagation()} class="max-w-full rounded-2xl bg-white p-4">
<div onclick={(e) => e.stopPropagation()} class="rounded-2xl bg-white p-4">
{@render children?.()}
</div>
</div>

View File

@@ -23,7 +23,7 @@
{#if title}
<p class="flex-grow truncate px-2 text-center text-lg font-semibold">{title}</p>
{/if}
<div class="min-w-[2.3rem] flex-shrink-0">
<div class="w-[2.3rem] flex-shrink-0">
{#if children}
{@render children?.()}
{/if}

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import type { Snippet } from "svelte";
interface Props {
children: Snippet;
onclick?: () => void;

View File

@@ -2,6 +2,6 @@
let { children } = $props();
</script>
<div class="sticky bottom-0 flex w-full flex-col items-center gap-y-2 bg-white pb-4">
<div class="sticky bottom-0 flex flex-col items-center gap-y-2 bg-white pb-4">
{@render children?.()}
</div>

View File

@@ -12,8 +12,8 @@
<input
bind:value
{type}
placeholder=" "
class="w-full border-b-2 border-gray-300 py-1 text-xl outline-none transition-all duration-300 ease-in-out"
placeholder=""
class="w-full border-b-2 border-gray-300 py-1 text-xl outline-none transition duration-300 ease-in-out"
/>
<!-- svelte-ignore a11y_label_has_associated_control -->
<label