From: philippm Date: Tue, 21 Aug 2012 21:10:36 +0000 (+0100) Subject: Fix all submenus expanded recursively in dropdown X-Git-Tag: v2.1.1~76^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4534%2Fhead;p=thirdparty%2Fbootstrap.git Fix all submenus expanded recursively in dropdown The problem was that the CSS selector made *all* of a submenu's nested menus visible. Fixed by applying the selector to the immediate nested menu only. --- diff --git a/less/dropdowns.less b/less/dropdowns.less index e83915dba5..21a029b435 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -172,7 +172,7 @@ -moz-border-radius: 0 6px 6px 6px; border-radius: 0 6px 6px 6px; } -.dropdown-submenu:hover .dropdown-menu { +.dropdown-submenu:hover > .dropdown-menu { display: block; }