Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default function CreateCardModal({ children }: ModalProps) {
return createPortal(
<div
className="z-60 fixed inset-0 flex items-center justify-center bg-black/40"
style={{ zIndex: 60 }}
onClick={(e) => e.stopPropagation()}
>
<div className="BG-white h-970 w-584 overflow-y-scroll rounded-16 p-32 shadow-lg [mask-image:radial-gradient(white_100%,transparent_100%)] mobile:h-766 mobile:w-327 mobile:px-16 mobile:py-24">
Expand Down
5 changes: 4 additions & 1 deletion src/app/features/dashboard_Id/Card/cardModal/CardModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ export default function CardModal({ children }: ModalProps) {
if (!modalRoot) return null

return createPortal(
<div className="z-60 fixed inset-0 flex items-center justify-center bg-black/40">
<div
className="z-60 fixed inset-0 flex items-center justify-center bg-black/40"
style={{ zIndex: 60 }}
>
<div>{children}</div>
</div>,
modalRoot,
Expand Down
Loading