Skip to content

Commit

Permalink
fix #185
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 23, 2021
1 parent 789f711 commit 1bb78e0
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/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
.modal-open .modal-box,
.modal-toggle:checked ~ .modal .modal-box,
.modal-toggle:checked + .modal .modal-box,
.modal:target .modal-box{
@apply translate-y-0 scale-100;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/unstyled/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}
.modal-open,
.modal:target,
.modal-toggle:checked ~ .modal{
.modal-toggle:checked + .modal{
@apply visible opacity-100 pointer-events-auto;
}
.modal-action{
Expand Down

0 comments on commit 1bb78e0

Please sign in to comment.