2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

move overflow and max-height on modal to modal-body instead

This commit is contained in:
Mark Otto
2012-02-19 21:55:09 -08:00
parent 1c7d346767
commit 9b09d1de86
5 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -860,7 +860,6 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
display: block;
margin-top: 5px;
margin-bottom: 0;
color: #999999;
}
.help-inline {
display: inline-block;
@@ -2873,7 +2872,6 @@ button.btn.small, input[type="submit"].btn.small {
top: 50%;
left: 50%;
z-index: 1050;
max-height: 500px;
overflow: auto;
width: 560px;
margin: -250px 0 0 -280px;
@@ -2912,6 +2910,8 @@ button.btn.small, input[type="submit"].btn.small {
margin-top: 2px;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
padding: 15px;
}
.modal-body .modal-form {