Skip to content

Commit

Permalink
zindex
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Mar 11, 2024
1 parent b8f2ed2 commit 49ad4dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/editor-ui-alert-dialog/alert-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand All @@ -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",
Expand Down

0 comments on commit 49ad4dc

Please sign in to comment.