Skip to content

Commit

Permalink
fix: drawer and modal backdrop color
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Nov 30, 2023
1 parent 39e71e0 commit 0f994e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/styled/drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
&-toggle {
&:checked ~ .drawer-side {
& > .drawer-overlay {
background-color: #00000066;
background-color: #0006;
}
}
&:focus-visible ~ .drawer-content label.drawer-button {
Expand Down
2 changes: 1 addition & 1 deletion src/components/styled/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
overscroll-behavior: contain;
&:not(dialog:not(.modal-open)),
&::backdrop {
background-color: rgba(0, 0, 0, 0.3);
background-color: #0006;
animation: modal-pop 0.2s ease-out;
}
}
Expand Down

0 comments on commit 0f994e3

Please sign in to comment.