Skip to content

Commit

Permalink
Missed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyaPA committed Dec 14, 2023
1 parent 17e3a17 commit 80b60de
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/lib/components/modal/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,36 +47,6 @@
<!--TODO: Remove this when supported by Svelte-->
<!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions -->
<dialog
<<<<<<< HEAD
bind:this={dialogContainer}
on:click|self={() => {
closeModalOnBackdropClick();
}}
>
<div class="box">
<slot />
</div>
</dialog>

<style>
.box {
max-width: 100vw;
display: block;
position: fixed;
background-color: var(--modal-background-color);
z-index: 100;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}
dialog {
max-width: 100vw;
width: 100vw;
max-height: 100vh;
height: 100vh;
background-color: rgba(0, 0, 0, 0.2);
=======
bind:this={dialog}
on:click|self={(event) => {
closeOnBackdropClick(event);
Expand All @@ -92,6 +62,5 @@
}
dialog::backdrop {
background-color: var(--modal-background-color);
>>>>>>> main
}
</style>

0 comments on commit 80b60de

Please sign in to comment.