Skip to content

Commit

Permalink
Merge pull request Dogfalo#41 from nekonenene/fix_closing_modal
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRuf authored Oct 17, 2020
2 parents 8818257 + 44f2370 commit 9dbbe83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sass/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
will-change: top, opacity;

@media #{$medium-and-down} {
width: 80%;
width: 80%;
}

h1,h2,h3,h4 {
Expand All @@ -29,7 +29,9 @@

.modal-content {
padding: 24px;
overflow-y: hidden;
}

.modal-close {
cursor: pointer;
}
Expand All @@ -47,6 +49,7 @@
}
}
}

.modal-overlay {
position: fixed;
z-index: 999;
Expand Down

0 comments on commit 9dbbe83

Please sign in to comment.