feat: changelog modal auto popup

This commit is contained in:
Timothy J. Baek 2024-02-23 00:47:54 -08:00
parent a84070c6d3
commit 05aea9edf9
5 changed files with 25 additions and 17 deletions

View file

@ -35,13 +35,13 @@
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class=" fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center z-50 overflow-hidden overscroll-contain"
transition:fade={{ duration: 50 }}
in:fade={{ duration: 10 }}
>
<div
class=" modal-content m-auto rounded-xl max-w-full {sizeToWidth(
size
)} mx-2 bg-gray-50 dark:bg-gray-900 shadow-3xl"
transition:fade={{ duration: 50 }}
in:fade={{ duration: 10 }}
on:click={(e) => {
e.stopPropagation();
}}