Skip to content

Commit 85089aa

Browse files
committed
chore: Refactor modulate.css to improve backdrop and background styling
1 parent 99f73b3 commit 85089aa

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/modulate.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,18 +580,16 @@
580580
/* ----------------------------------------------------------------------------------------
581581
Backdrop & Background
582582
*/
583-
&::before,
584-
::after {
583+
&::before {
585584
content: "";
586585
position: relative;
587-
}
588-
589-
&::before {
590586
background: var(--cs-backdrop);
591587
z-index: 1;
592588
}
593589

594590
&::after {
591+
content: "";
592+
position: relative;
595593
background: var(--cs-background);
596594
z-index: 2;
597595
}

0 commit comments

Comments
 (0)