Skip to content

Commit

Permalink
remove modal css override
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoSot authored and mdo committed May 13, 2021
1 parent 6e1c909 commit 130a5ba
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scss/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
// .modal-content - actual modal w/ bg and corners and stuff


.modal-open {
// Kill the scroll on the body
overflow: hidden;

.modal {
overflow-x: hidden;
overflow-y: auto;
}
}

// Container that the modal scrolls within
.modal {
position: fixed;
Expand All @@ -23,7 +13,8 @@
display: none;
width: 100%;
height: 100%;
overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
// Prevent Chrome on Windows from adding a focus outline. For details, see
// https://github.com/twbs/bootstrap/pull/10951.
outline: 0;
Expand Down

0 comments on commit 130a5ba

Please # to comment.