Skip to content

Commit 27d9b24

Browse files
committed
fix: increase z-index of the accept modal to be above any modal (for cases when we use adminforth.confirm inside modal from afcl)
1 parent 9d20872 commit 27d9b24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adminforth/spa/src/components/AcceptModal.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<Modal
44
ref="modalRef"
55
:beforeCloseFunction="()=>{modalStore.onAcceptFunction(false);modalStore.isOpened=false}"
6+
backgroundCustomClasses="z-[998]"
7+
modalCustomClasses="z-[999]"
68
>
79
<div class="relative p-4 w-full max-w-md max-h-full" >
810
<button type="button" @click="modalStore.togleModal()" class="absolute top-3 end-2.5 text-lightAcceptModalCloseIcon bg-transparent hover:bg-lightAcceptModalCloseIconHoverBackground hover:text-lightAcceptModalCloseIconHover rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:text-darkAcceptModalCloseIcon dark:hover:bg-darkAcceptModalCloseIconHoverBackground dark:hover:text-darkAcceptModalCloseIconHover" >

0 commit comments

Comments
 (0)