From: Imran Omari Date: Sat, 5 Dec 2015 02:28:12 +0000 (+0000) Subject: use get-side function instead of nth to calculate top of dropdown arrow X-Git-Tag: v6.0.6~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7175%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git use get-side function instead of nth to calculate top of dropdown arrow --- diff --git a/scss/components/_dropdown-menu.scss b/scss/components/_dropdown-menu.scss index 762a3476c..60a486a4a 100644 --- a/scss/components/_dropdown-menu.scss +++ b/scss/components/_dropdown-menu.scss @@ -41,7 +41,7 @@ $dropdown-border: 1px solid $medium-gray !default; &.is-down-arrow > a::after { @include css-triangle(5px, $anchor-color, down); position: absolute; - top: rem-calc(2px) + rem-calc(nth($menu-item-padding, 1)); + top: rem-calc(2px) + rem-calc(get-side($menu-item-padding, top)); #{$global-right}: 5px; } &.is-left-arrow > a::after {