refac
This commit is contained in:
@@ -116,14 +116,14 @@
|
||||
}}
|
||||
>
|
||||
<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
|
||||
on:mousedown={(e) => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>
|
||||
<div class="px-[1.75rem] py-6 flex flex-col">
|
||||
<div class=" text-lg font-normal dark:text-gray-200 mb-2.5">
|
||||
<div class="px-5 py-5 flex flex-col">
|
||||
<div class="text-base font-medium dark:text-gray-200 mb-2.5">
|
||||
{#if title !== ''}
|
||||
{title}
|
||||
{:else}
|
||||
@@ -175,9 +175,9 @@
|
||||
</div>
|
||||
</slot>
|
||||
|
||||
<div class="mt-6 flex justify-between gap-1.5">
|
||||
<div class="mt-5 flex justify-between gap-1.5">
|
||||
<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={() => {
|
||||
cancelHandler();
|
||||
}}
|
||||
@@ -186,7 +186,7 @@
|
||||
{cancelLabel}
|
||||
</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={() => {
|
||||
confirmHandler();
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user