fix z-index on popup stack

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-08-31 19:09:10 +02:00
parent 9d39529d9f
commit 779f926d78
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -30,7 +30,7 @@
<svelte:window on:keydown={handleKeydown} />
{#each $modal as popup}
<PopupInstance is={popup.is} props={popup.props} element={popup.element} />
{#each $modal as popup, i}
<PopupInstance is={popup.is} props={popup.props} element={popup.element} zIndex={(i+1) * 500}/>
{/each}