Skip to content

Commit 808d374

Browse files
committed
chore(deps): lock jekyll-sass-converter to v2.x on Linux-musl (cotes2020#829)
Also, make the division formula backward compatible with `jekyll-sass-converter 2.x` (cotes2020#848, cotes2020#849) Ref: https://github.com/jekyll/jekyll-sass-converter#migrate-from-2x-to-3x
1 parent e8d20bf commit 808d374

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile

+5
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ end
1717

1818
# Performance-booster for watching directories on Windows
1919
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
20+
21+
# Lock jekyll-sass-converter to 2.x on Linux-musl
22+
if RUBY_PLATFORM =~ /linux-musl/
23+
gem "jekyll-sass-converter", "~> 2.0"
24+
end

_sass/addon/commons.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ $sidebar-display: "sidebar-display";
841841

842842
@for $i from 1 through $tab-count {
843843
$offset: $tab-count - $i;
844-
$top: -$offset * $tab-height + calc(($tab-height - $tab-cursor-height) / 2);
844+
$top: calc(-#{$offset} * #{$tab-height} + (#{$tab-height} - #{$tab-cursor-height}) / 2);
845845

846846
@if $i < $tab-count {
847847
> li.active:nth-child(#{$i}),

0 commit comments

Comments
 (0)