]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Only style a::after in a dropdown menu <li> if $dropdownmenu-arrows is enabled, fixes...
authorGeoff Kimball <geoff@zurb.com>
Mon, 1 Feb 2016 21:14:34 +0000 (13:14 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 1 Feb 2016 21:14:37 +0000 (13:14 -0800)
scss/components/_dropdown-menu.scss

index e67e2caaa67f2c6c24be8cef132d2e4a72e43ae2..5bd8948f27636506979f53a81dc6f68b57d636f7 100644 (file)
@@ -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;