aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-19 21:55:09 -0800
committerMark Otto <[email protected]>2012-02-19 21:55:09 -0800
commit9b09d1de861b236ce27cbda8579d4ec1f6e4dd17 (patch)
treed8fb4d637d00cb535da953afb558535338278aa2 /less
parent1c7d346767854eb11f723e100dbdce0b60d21e16 (diff)
downloadbootstrap-9b09d1de861b236ce27cbda8579d4ec1f6e4dd17.tar.xz
bootstrap-9b09d1de861b236ce27cbda8579d4ec1f6e4dd17.zip
move overflow and max-height on modal to modal-body instead
Diffstat (limited to 'less')
-rw-r--r--less/modals.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/modals.less b/less/modals.less
index d1e06dc26..71977307f 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -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