aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-08-27 20:43:12 -0700
committerJacob Thornton <[email protected]>2012-08-27 20:43:12 -0700
commitd797a5fbd7dd883a09bf00e516e0bd509c898f53 (patch)
tree6e668cfdaf16a57d4d1b715ff4cb1b49d8ca5eba /less
parent438f745ea21f100b1a8d3d8b1722ed07a743c359 (diff)
downloadbootstrap-d797a5fbd7dd883a09bf00e516e0bd509c898f53.tar.xz
bootstrap-d797a5fbd7dd883a09bf00e516e0bd509c898f53.zip
fix for open elements under modal when .modal-open
Diffstat (limited to 'less')
-rw-r--r--less/modals.less5
1 files changed, 3 insertions, 2 deletions
diff --git a/less/modals.less b/less/modals.less
index e515bb796..81cacb7ab 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -3,8 +3,9 @@
// --------------------------------------------------
-// Recalculate z-index where appropriate
-.modal-open {
+// Recalculate z-index where appropriate,
+// but only apply to elements within modal
+.modal-open .modal {
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
.popover { z-index: @zindexPopover + @zindexModal; }