diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c2e93c0..f664234 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -740,12 +740,12 @@ $sidebar-display: "sidebar-display"; @for $i from 1 through $tab-count { $offset: $tab-count - $i; - $top: -$offset * $tab-height + $tab-cursor-height / 2; + $top: -$offset * $tab-height + ($tab-height - $tab-cursor-height) / 2; @if $i < $tab-count { > li.active:nth-child(#{$i}), > li.nav-item:nth-child(#{$i}):hover { - ~li:last-child::after { + ~ li:last-child::after { @include fix-cursor($top); } }