mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fix for open elements under modal when .modal-open
This commit is contained in:
parent
438f745ea2
commit
d797a5fbd7
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -4815,19 +4815,19 @@ input[type="submit"].btn.btn-mini {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.modal-open .dropdown-menu {
|
||||
.modal-open .modal .dropdown-menu {
|
||||
z-index: 2050;
|
||||
}
|
||||
|
||||
.modal-open .dropdown.open {
|
||||
.modal-open .modal .dropdown.open {
|
||||
*z-index: 2050;
|
||||
}
|
||||
|
||||
.modal-open .popover {
|
||||
.modal-open .modal .popover {
|
||||
z-index: 2060;
|
||||
}
|
||||
|
||||
.modal-open .tooltip {
|
||||
.modal-open .modal .tooltip {
|
||||
z-index: 2080;
|
||||
}
|
||||
|
||||
|
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user