mirror of https://github.com/twbs/bootstrap.git
#3420: properly scope dropdown open state to immediate children only
This commit is contained in:
parent
332d2a7384
commit
ea15660973
|
@ -2433,7 +2433,7 @@ table .span24 {
|
||||||
*z-index: 1000;
|
*z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.open .dropdown-menu {
|
.open > .dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
// make the menu appear below buttons that appeared later on the page
|
// make the menu appear below buttons that appeared later on the page
|
||||||
*z-index: @zindexDropdown;
|
*z-index: @zindexDropdown;
|
||||||
|
|
||||||
.dropdown-menu {
|
& > .dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue