From: Brett Mason Date: Tue, 12 Jan 2016 14:04:29 +0000 (+0000) Subject: Corrected submenu adjustment X-Git-Tag: v6.1.2~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7851%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Corrected submenu adjustment Corrects submenu margin-top adjustment to target only nested submenus. --- diff --git a/scss/components/_dropdown-menu.scss b/scss/components/_dropdown-menu.scss index 7cbdee062..64917dfb9 100644 --- a/scss/components/_dropdown-menu.scss +++ b/scss/components/_dropdown-menu.scss @@ -100,7 +100,9 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1); border: $dropdownmenu-border; @if (type-of($dropdownmenu-border-width) == 'number') { - margin-top: (-$dropdownmenu-border-width); + & .submenu { + margin-top: (-$dropdownmenu-border-width); + } } > li {