From: Federico Liva Date: Thu, 8 May 2014 14:35:21 +0000 (+0200) Subject: Update _top-bar.scss X-Git-Tag: v5.2.3~23^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F5128%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update _top-bar.scss 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. --- diff --git a/scss/foundation/components/_top-bar.scss b/scss/foundation/components/_top-bar.scss index 47e810f23..17df7e885 100644 --- a/scss/foundation/components/_top-bar.scss +++ b/scss/foundation/components/_top-bar.scss @@ -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);