Maybe get dialogs behaving properly

This commit is contained in:
Jon Staab
2024-10-15 15:52:30 -07:00
parent 4decb2f4d9
commit 9c300d40f6
22 changed files with 169 additions and 189 deletions
+2 -4
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import Button from '@lib/components/Button.svelte'
import Button from "@lib/components/Button.svelte"
import ModalHeader from "@lib/components/ModalHeader.svelte"
export let event
@@ -8,9 +8,7 @@
<div class="column gap-4">
<ModalHeader>
<div slot="title">Event Details</div>
<div slot="info">
The full details of this event are shown below.
</div>
<div slot="info">The full details of this event are shown below.</div>
</ModalHeader>
<pre class="overflow-auto"><code>{JSON.stringify(event, null, 2)}</code></pre>
<Button class="btn btn-primary" on:click={() => history.back()}>Got it</Button>