2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +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 -1
View File
@@ -33,7 +33,6 @@
top: 50%;
left: 50%;
z-index: @zindexModal;
max-height: 500px;
overflow: auto;
width: 560px;
margin: -250px 0 0 -280px;
@@ -59,6 +58,8 @@
// Body (where all modal content resises)
.modal-body {
overflow-y: auto;
max-height: 400px;
padding: 15px;
}
// Remove bottom margin if need be