diff --git a/Gemfile b/Gemfile index 6438466..9a7bf74 100644 --- a/Gemfile +++ b/Gemfile @@ -17,3 +17,8 @@ end # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform? + +# Lock jekyll-sass-converter to 2.x on Linux-musl +if RUBY_PLATFORM =~ /linux-musl/ + gem "jekyll-sass-converter", "~> 2.0" +end diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index a65915c..8ac6f7d 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -841,7 +841,7 @@ $sidebar-display: "sidebar-display"; @for $i from 1 through $tab-count { $offset: $tab-count - $i; - $top: -$offset * $tab-height + calc(($tab-height - $tab-cursor-height) / 2); + $top: calc(-#{$offset} * #{$tab-height} + (#{$tab-height} - #{$tab-cursor-height}) / 2); @if $i < $tab-count { > li.active:nth-child(#{$i}),