1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

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

This commit is contained in:
Mark Otto
2013-08-19 13:16:32 -07:00
parent c15b259f43
commit 3f87bf46e4
3 changed files with 15 additions and 1 deletions

View File

@@ -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;