From: Geoff Kimball Date: Mon, 1 Feb 2016 21:14:34 +0000 (-0800) Subject: Only style a::after in a dropdown menu
  • if $dropdownmenu-arrows is enabled, fixes... X-Git-Tag: v6.2.0-rc.1~35^2~4^2~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61eab6ec8fb487611e27e4d1659cf6bd5ce30a5;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Only style a::after in a dropdown menu
  • if $dropdownmenu-arrows is enabled, fixes #8032 --- diff --git a/scss/components/_dropdown-menu.scss b/scss/components/_dropdown-menu.scss index e67e2caaa..5bd8948f2 100644 --- a/scss/components/_dropdown-menu.scss +++ b/scss/components/_dropdown-menu.scss @@ -78,13 +78,13 @@ $dropdownmenu-border-width: nth($dropdownmenu-border, 1); .is-dropdown-submenu-parent { position: relative; - a::after { - float: $global-right; - margin-top: 3px; - margin-#{$global-left}: 10px; - } - @if $dropdownmenu-arrows { + a::after { + float: $global-right; + margin-top: 3px; + margin-#{$global-left}: 10px; + } + &.is-down-arrow a { padding-#{$global-right}: 1.5rem; position: relative;