Skip to content

Commit

Permalink
fix modal z-index in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pickledish committed Dec 23, 2020
1 parent 98cff97 commit 826256e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</style>

{#if show}
<div class="blurred fixed top-0 left-0 w-screen h-screen bg-grey z-10">
<div class="blurred fixed top-0 left-0 w-screen h-screen bg-grey z-30">
<div class="h-full w-full bg-black bg-opacity-50 flex items-center justify-center" on:click|self={close}>
<div class="w-5/6 md:w-1/2 bg-white dark:bg-desk-700 bg-opacity-100 p-8 rounded">
<slot></slot>
Expand Down

0 comments on commit 826256e

Please sign in to comment.