Commit 3f87bf46 authored by Mark Otto's avatar Mark Otto

fixes #9855: account for modal overflow on body hiding scrollbar

parent c15b259f
......@@ -5593,6 +5593,12 @@ button.close {
overflow: hidden;
}
body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
margin-right: 15px;
}
.modal {
position: fixed;
top: 0;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,6 +10,14 @@
// Kill the scroll on the body
.modal-open {
overflow: hidden;
// Account for hiding of scrollbar
body&,
.navbar-fixed-top,
.navbar-fixed-bottom {
margin-right: 15px
}
}
// Container that the modal scrolls within
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment