]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update _top-bar.scss 5128/head
authorFederico Liva <fede91it@gmail.com>
Thu, 8 May 2014 14:35:21 +0000 (16:35 +0200)
committerFederico Liva <fede91it@gmail.com>
Thu, 8 May 2014 14:35:21 +0000 (16:35 +0200)
It is added an arbitrary 20px padding at the right of menu items with sub menus. This break the layout, it should be added only the standard $topbar-link-padding.

scss/foundation/components/_top-bar.scss

index 47e810f23aa4422e0c17f9a67c9dcc3378dd5363..17df7e885eff12bc863f5c53a0d2e760690defc2 100644 (file)
@@ -504,7 +504,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
           @if($topbar-arrows){
 
             & > a {
-              padding-#{$opposite-direction}: $topbar-link-padding + 20 !important;
+              padding-#{$opposite-direction}: $topbar-link-padding !important;
               &:after {
                 @include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), top);
                 margin-top: -($topbar-dropdown-toggle-size / 2);