chore(deps): lock jekyll-sass-converter
to v2.x
on Linux-musl (#829)
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
This commit is contained in:
parent
e8d20bf7b0
commit
808d3743e5
2 changed files with 6 additions and 1 deletions
5
Gemfile
5
Gemfile
|
@ -17,3 +17,8 @@ end
|
||||||
|
|
||||||
# Performance-booster for watching directories on Windows
|
# Performance-booster for watching directories on Windows
|
||||||
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
|
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
|
||||||
|
|
|
@ -841,7 +841,7 @@ $sidebar-display: "sidebar-display";
|
||||||
|
|
||||||
@for $i from 1 through $tab-count {
|
@for $i from 1 through $tab-count {
|
||||||
$offset: $tab-count - $i;
|
$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 {
|
@if $i < $tab-count {
|
||||||
> li.active:nth-child(#{$i}),
|
> li.active:nth-child(#{$i}),
|
||||||
|
|
Loading…
Reference in a new issue