Skip to content

Commit

Permalink
fix(Overlay): pull keyframes out of class definition
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca committed Nov 19, 2024
1 parent dceb73a commit 3dbdaa4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/react/src/Overlay/Overlay.module.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
@keyframes overlay-appear {
0% {
opacity: 0;
}

100% {
opacity: 1;
}
}

.Overlay {
position: absolute;
width: auto;
Expand All @@ -9,16 +19,6 @@
box-shadow: var(--shadow-floating-small);
animation: overlay-appear 200ms cubic-bezier(0.33, 1, 0.68, 1);

@keyframes overlay-appear {
0% {
opacity: 0;
}

100% {
opacity: 1;
}
}

&:focus {
outline: none;
}
Expand Down

0 comments on commit 3dbdaa4

Please sign in to comment.