Skip to content

Commit

Permalink
fix dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
bosung90 committed Oct 16, 2023
1 parent f36f288 commit 6d98074
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/routes/checkout/[eventId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,9 @@

<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<dialog
bind:this={dialog}
on:click={() => dialog.close()}
class="bg-transparent backdrop-blur-sm max-w-full max-h-full min-w-full min-h-full flex items-center justify-center">
<div class="w-1/2 bg-white rounded-xl shadow-lg p-6">
<p class="text-sm [&>*]:pb-4">
<dialog bind:this={dialog} on:click={() => dialog.close()} class="bg-transparent backdrop-blur-sm">
<div class="bg-white rounded-xl shadow-lg p-6">
<p class="text-sm [&>*]:pb-4 max-w-4xl">
{@html Marked.parse(event?.description ?? '')}
</p>
</div>
Expand Down

0 comments on commit 6d98074

Please sign in to comment.