aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
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; }