]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#3420: properly scope dropdown open state to immediate children only
authorMark Otto <markotto@twitter.com>
Mon, 14 May 2012 04:52:18 +0000 (21:52 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 14 May 2012 04:52:18 +0000 (21:52 -0700)
docs/assets/css/bootstrap.css
less/dropdowns.less

index d6326a156f523419931d3a821bdbd70b04ba5a53..ab6059ad014591276483802d72e21d2bb8a450b8 100644 (file)
@@ -2433,7 +2433,7 @@ table .span24 {
   *z-index: 1000;
 }
 
-.open .dropdown-menu {
+.open .dropdown-menu {
   display: block;
 }
 
index 2bcd55687973e987c9f79950a6e522238840cc5b..96dfec223725408ead9fe120ca28e19cc182ae23 100644 (file)
   // make the menu appear below buttons that appeared later on the page
   *z-index: @zindexDropdown;
 
-  .dropdown-menu {
+  & > .dropdown-menu {
     display: block;
   }
 }