From: Mark Otto Date: Mon, 14 May 2012 04:52:18 +0000 (-0700) Subject: #3420: properly scope dropdown open state to immediate children only X-Git-Tag: v2.0.4~1^2~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea156609736513a4ad5aa22ef574bccbc3d23330;p=thirdparty%2Fbootstrap.git #3420: properly scope dropdown open state to immediate children only --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d6326a156f..ab6059ad01 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2433,7 +2433,7 @@ table .span24 { *z-index: 1000; } -.open .dropdown-menu { +.open > .dropdown-menu { display: block; } diff --git a/less/dropdowns.less b/less/dropdowns.less index 2bcd556879..96dfec2237 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -103,7 +103,7 @@ // make the menu appear below buttons that appeared later on the page *z-index: @zindexDropdown; - .dropdown-menu { + & > .dropdown-menu { display: block; } }