diff options
| author | Jacob Thornton <[email protected]> | 2012-08-27 20:43:12 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-08-27 20:43:12 -0700 |
| commit | d797a5fbd7dd883a09bf00e516e0bd509c898f53 (patch) | |
| tree | 6e668cfdaf16a57d4d1b715ff4cb1b49d8ca5eba /less/modals.less | |
| parent | 438f745ea21f100b1a8d3d8b1722ed07a743c359 (diff) | |
| download | bootstrap-d797a5fbd7dd883a09bf00e516e0bd509c898f53.tar.xz bootstrap-d797a5fbd7dd883a09bf00e516e0bd509c898f53.zip | |
fix for open elements under modal when .modal-open
Diffstat (limited to 'less/modals.less')
| -rw-r--r-- | less/modals.less | 5 |
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; } |
