chore: adjusts LeaveWithoutSaving z-index

This commit is contained in:
James
2022-10-11 09:00:19 -04:00
parent 3e3d151e4c
commit fdcf029da2
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
.leave-without-saving {
@include blur-bg;
position: fixed;
z-index: var(--z-modal);
z-index: calc(var(--z-modal) + 1);
top: 0;
right: 0;
bottom: 0;
@@ -17,4 +17,4 @@
.btn {
margin-right: $baseline;
}
}
}

View File

@@ -34,7 +34,7 @@ const Index = () => (
<Router>
<ModalProvider
classPrefix="payload"
zIndex={50}
zIndex="var(--z-modal)"
transTime={0}
>
<AuthProvider>