Skip to content
  • Sponsor gridaco/editor-ui

  • Notifications You must be signed in to change notification settings
  • Fork 3

Commit 49ad4dc

Browse files
committedMar 11, 2024·
zindex
1 parent b8f2ed2 commit 49ad4dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎packages/editor-ui-alert-dialog/alert-dialog.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const contentShow = keyframes({
1515
const StyledOverlay = styled(AlertDialogPrimitive.Overlay, {
1616
backgroundColor: "rgba(0, 0, 0, 0.1)",
1717
position: "fixed",
18+
zIndex: 9999,
1819
inset: 0,
1920
"@media (prefers-reduced-motion: no-preference)": {
2021
animation: `${overlayShow} 150ms cubic-bezier(0.16, 1, 0.3, 1) forwards`,
@@ -23,6 +24,7 @@ const StyledOverlay = styled(AlertDialogPrimitive.Overlay, {
2324

2425
const StyledContent = styled(AlertDialogPrimitive.Content, {
2526
backgroundColor: "white",
27+
zIndex: 99999,
2628
borderRadius: 6,
2729
boxShadow:
2830
"hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",

0 commit comments

Comments
 (0)
Please sign in to comment.