Hide the bodys overflow when a modal is open so it doesnt scroll
This commit is contained in:
parent
27b03eea04
commit
a4d303cefd
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user