Skip to content
Snippets Groups Projects
Unverified Commit ee7c7023 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #3571 from paulkaplan/fix-block-modal

Fix custom procedure scroll issue
parents 0265623c b9930825
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.modal-content { .modal-content {
width: 700px; width: 700px;
margin: 50px auto; /* This modal is taller than most, reduce top margin */
} }
.body { .body {
......
...@@ -311,3 +311,11 @@ $fade-out-distance: 15px; ...@@ -311,3 +311,11 @@ $fade-out-distance: 15px;
position: absolute; position: absolute;
margin-top: 53px; margin-top: 53px;
} }
/*
Make the (background) page not scrollable when modals are open
This CSS class is automatically added to the body when react-modal is open
*/
:global(.ReactModal__Body--open) {
overflow: hidden;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment