pnpm format

Changes:
- Re-ordered classes in the "modal-overlay" div for better readability.
- Split the inner "modal" div properties onto multiple lines to improve readability.
This commit is contained in:
Ian Donahue 2023-04-11 19:04:15 +02:00
parent b06f68a6b3
commit 40a0a1345f

View File

@ -52,8 +52,10 @@ It does minimal styling. A close event is fired when the modal is closed.
on:close={hide}
>
{#if open}
<div class="modal-overlay overflow-hidden h-[100vh] relative top-[25%]">
<div class="modal w-[640px] overflow-hidden rounded-lg border-[0.5px] border-[#3F3F3f] bg-zinc-900/70 p-0 shadow-lg backdrop-blur-lg">
<div class="modal-overlay relative top-[25%] h-[100vh] overflow-hidden">
<div
class="modal w-[640px] overflow-hidden rounded-lg border-[0.5px] border-[#3F3F3f] bg-zinc-900/70 p-0 shadow-lg backdrop-blur-lg"
>
<div class="flex" bind:this={content}>
<slot />
</div>