From 49ad4dc515ba8b418b29a0c14abc416d5a9c71b8 Mon Sep 17 00:00:00 2001 From: Universe Date: Tue, 12 Mar 2024 04:08:24 +0900 Subject: [PATCH] zindex --- packages/editor-ui-alert-dialog/alert-dialog.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/editor-ui-alert-dialog/alert-dialog.tsx b/packages/editor-ui-alert-dialog/alert-dialog.tsx index 37e945d..9b3ccf5 100644 --- a/packages/editor-ui-alert-dialog/alert-dialog.tsx +++ b/packages/editor-ui-alert-dialog/alert-dialog.tsx @@ -15,6 +15,7 @@ const contentShow = keyframes({ const StyledOverlay = styled(AlertDialogPrimitive.Overlay, { backgroundColor: "rgba(0, 0, 0, 0.1)", position: "fixed", + zIndex: 9999, inset: 0, "@media (prefers-reduced-motion: no-preference)": { animation: `${overlayShow} 150ms cubic-bezier(0.16, 1, 0.3, 1) forwards`, @@ -23,6 +24,7 @@ const StyledOverlay = styled(AlertDialogPrimitive.Overlay, { const StyledContent = styled(AlertDialogPrimitive.Content, { backgroundColor: "white", + zIndex: 99999, borderRadius: 6, boxShadow: "hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",