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:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user