vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-2.2.1 vs vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-2.2.2
- old
+ new
@@ -21,15 +21,15 @@
}
// Base modal
.modal {
position: fixed;
- top: 50%;
+ top: 10%;
left: 50%;
z-index: @zindexModal;
width: 560px;
- margin: -250px 0 0 -280px;
+ margin-left: -280px;
background-color: @white;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,.3);
*border: 1px solid #999; /* IE6-7 */
.border-radius(6px);
@@ -40,11 +40,11 @@
&.fade {
.transition(e('opacity .3s linear, top .3s ease-out'));
top: -25%;
}
- &.fade.in { top: 50%; }
+ &.fade.in { top: 10%; }
}
.modal-header {
padding: 9px 15px;
border-bottom: 1px solid #eee;
// Close icon
@@ -56,9 +56,10 @@
}
}
// Body (where all modal content resides)
.modal-body {
+ position: relative;
overflow-y: auto;
max-height: 400px;
padding: 15px;
}
// Remove bottom margin if need be