🐛 May have fixed the popup

This commit is contained in:
Mawoka
2023-04-16 13:41:34 +02:00
parent 0b6b049f7e
commit 0a73cdfee8
+5 -2
View File
@@ -91,9 +91,12 @@
{:else} {:else}
<slot /> <slot />
{/if} {/if}
{#if $alertModal.open} {#if $alertModal.open ?? false}
<div <div
class="fixed inset-0 h-screen w-screen bg-black z-30 bg-opacity-60 flex items-center justify-center content-center" class="fixed inset-0 h-screen w-screen bg-black z-30 bg-opacity-60 items-center justify-center content-center"
class:hidden={!$alertModal.open}
class:flex={$alertModal.open}
class:visible={$alertModal.open}
> >
<Alert <Alert
bind:title={$alertModal.title} bind:title={$alertModal.title}