refac
This commit is contained in:
1 parent
3ff20b210e
commit
309313db68
1 file changed
+6
-6
@@ -116,14 +116,14 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class=" m-auto max-w-full w-[32rem] mx-2 bg-white/95 dark:bg-gray-950/95 backdrop-blur-sm rounded-4xl max-h-[100dvh] shadow-3xl border border-white dark:border-gray-900"
|
class="m-auto max-w-full w-[32rem] mx-2 bg-white/95 dark:bg-gray-950/95 backdrop-blur-sm rounded-3xl max-h-[100dvh] shadow-3xl border border-white dark:border-gray-900"
|
||||||
in:flyAndScale
|
in:flyAndScale
|
||||||
on:mousedown={(e) => {
|
on:mousedown={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="px-[1.75rem] py-6 flex flex-col">
|
<div class="px-5 py-5 flex flex-col">
|
||||||
<div class=" text-lg font-normal dark:text-gray-200 mb-2.5">
|
<div class="text-base font-medium dark:text-gray-200 mb-2.5">
|
||||||
{#if title !== ''}
|
{#if title !== ''}
|
||||||
{title}
|
{title}
|
||||||
{:else}
|
{:else}
|
||||||
@@ -175,9 +175,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</slot>
|
</slot>
|
||||||
|
|
||||||
<div class="mt-6 flex justify-between gap-1.5">
|
<div class="mt-5 flex justify-between gap-1.5">
|
||||||
<button
|
<button
|
||||||
class="text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 dark:bg-gray-850 dark:hover:bg-gray-800 dark:text-white font-normal w-full py-2 rounded-3xl transition"
|
class="text-sm bg-gray-100 hover:bg-gray-100/70 text-gray-800 dark:bg-gray-850 dark:hover:bg-gray-850/60 dark:text-white font-normal w-full py-1.5 rounded-full transition"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
cancelHandler();
|
cancelHandler();
|
||||||
}}
|
}}
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
{cancelLabel}
|
{cancelLabel}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="text-sm bg-gray-900 hover:bg-gray-850 text-gray-100 dark:bg-gray-100 dark:hover:bg-white dark:text-gray-800 font-normal w-full py-2 rounded-3xl transition"
|
class="text-sm bg-gray-900 hover:bg-gray-900/90 text-gray-100 dark:bg-gray-100 dark:hover:bg-gray-100/90 dark:text-gray-800 font-normal w-full py-1.5 rounded-full transition"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
confirmHandler();
|
confirmHandler();
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in new issue
Block a user