Skip to content

Commit

Permalink
fix: z-index to sheet overlay (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbh authored Aug 9, 2024
1 parent 19feaa1 commit f221f2a
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions packages/raystack/sheet/sheet.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
.overlay {
position: fixed;
inset: 0;

background-color: rgba(0, 0, 0, .15);
z-index: 1;
background-color: rgba(0, 0, 0, 0.15);
}

.overlay[data-state="open"] {
Expand All @@ -65,7 +65,7 @@
align-items: center;
border-radius: 4px;
font-weight: 500;

position: absolute;
top: 8px;
right: 8px;
Expand All @@ -76,11 +76,19 @@
}

@keyframes fadeIn {
0% { opacity: 0 }
100% { opacity: 1 }
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@keyframes fadeOut {
0% { opacity: 1 }
100% { opacity: 0 }
}
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}

0 comments on commit f221f2a

Please sign in to comment.