fix: fix modal

This commit is contained in:
Xyphyn committed 2023-08-12 17:48:04 -07:00
1 parent ff8cb6dd08
commit 3c064e7532
1 file changed
+3 -3
+3 -3
View File
@@ -25,11 +25,11 @@ flex flex-col items-center justify-center bg-black/50 backdrop-blur-sm box-borde
transition:scale={{ start: 0.9, easing: expoOut }}
class="overflow-y-auto {$$props.class} rounded-xl max-w-full box-border w-full"
>
<Card
<div
class="w-full dark:!bg-zinc-950 rounded-xl max-w-xl box-border mx-auto"
on:click={() => {}}
>
<div class="p-6 flex flex-col gap-4 w-full">
<div class="p-6 flex flex-col gap-4 w-full dark:bg-zinc-950 bg-white border border-slate-200 dark:border-zinc-800">
<div class="flex flex-row max-w-full">
<h1 class="font-bold text-2xl w-max max-w-full">
<slot name="title" />
@@ -55,7 +55,7 @@ flex flex-col items-center justify-center bg-black/50 backdrop-blur-sm box-borde
</slot>
</div>
{/if}
</Card>
</div>
</div>
</div>
{/if}