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",