Skip to content

Commit

Permalink
chore(deps): lock jekyll-sass-converter to v2.x on Linux-musl (#829)
Browse files Browse the repository at this point in the history
Also, make the division formula backward compatible with `jekyll-sass-converter 2.x` (#848, #849)

Ref: https://github.com/jekyll/jekyll-sass-converter#migrate-from-2x-to-3x
  • Loading branch information
cotes2020 committed Jan 11, 2023
1 parent e8d20bf commit 808d374
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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}),
Expand Down

0 comments on commit 808d374

Please sign in to comment.