Hide the bodys overflow when a modal is open so it doesnt scroll

This commit is contained in:
Andrew Croce 2018-09-20 11:45:17 -04:00
parent 27b03eea04
commit a4d303cefd

View File

@ -1,5 +1,11 @@
$fixed-footer-height: 5rem + ($gap * 4); $fixed-footer-height: 5rem + ($gap * 4);
body {
&.modal-open {
overflow-y: hidden;
}
}
.modal { .modal {
position: fixed; position: fixed;
z-index: 3; z-index: 3;