From 44c6a17197ed58307fe9e6947ecd9134c33a63d4 Mon Sep 17 00:00:00 2001 From: Imran Omari Date: Sat, 5 Dec 2015 02:28:12 +0000 Subject: [PATCH] use get-side function instead of nth to calculate top of dropdown arrow --- scss/components/_dropdown-menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.2