Hide the bodys overflow when a modal is open so it doesnt scroll
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
$fixed-footer-height: 5rem + ($gap * 4);
|
||||
|
||||
body {
|
||||
&.modal-open {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
z-index: 3;
|
||||
|
Reference in New Issue
Block a user