diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c1e1ae9..9e1b1f1 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -816,7 +816,7 @@ $sidebar-display: "sidebar-display"; &:last-child { a { position: relative; - left: $cursor-width / 2; + left: calc($cursor-width / 2); width: 100%; } @@ -842,7 +842,7 @@ $sidebar-display: "sidebar-display"; @for $i from 1 through $tab-count { $offset: $tab-count - $i; - $top: -$offset * $tab-height + ($tab-height - $tab-cursor-height) / 2; + $top: -$offset * $tab-height + calc(($tab-height - $tab-cursor-height) / 2); @if $i < $tab-count { > li.active:nth-child(#{$i}),