Skip to content

Commit

Permalink
Fix: SASS compile issue in some versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vadikom committed Jun 19, 2021
1 parent 562d13b commit 628bd53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions src/css/sm-blue/mixins/_round-corners-last-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
$selector: $chain + 'a, ' + $chain + '*:not(ul) a, ' + $chain + 'ul';
@for $i from 1 through $level {
$chain: $chain + $chainable;
$selector: $selector + ',
' + $chain + ' a, ' + $chain + '*:not(ul) a, ' + $chain + ' ul';
$selector: $selector + ', ' + $chain + ' a, ' + $chain + '*:not(ul) a, ' + $chain + ' ul';
}
#{$selector} {
border-radius: 0 0 $amount $amount;
Expand All @@ -16,10 +15,9 @@
$selector: $chain + 'a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
@for $i from 1 through $level {
$chain: $chain + $chainable;
$selector: $selector + ',
' + $chain + ' a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
$selector: $selector + ', ' + $chain + ' a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
}
#{$selector} {
border-radius: 0;
}
}
}
8 changes: 3 additions & 5 deletions src/css/sm-clean/mixins/_round-corners-last-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
$selector: $chain + 'a, ' + $chain + '*:not(ul) a, ' + $chain + 'ul';
@for $i from 1 through $level {
$chain: $chain + $chainable;
$selector: $selector + ',
' + $chain + ' a, ' + $chain + '*:not(ul) a, ' + $chain + ' ul';
$selector: $selector + ', ' + $chain + ' a, ' + $chain + '*:not(ul) a, ' + $chain + ' ul';
}
#{$selector} {
border-radius: 0 0 $amount $amount;
Expand All @@ -16,10 +15,9 @@
$selector: $chain + 'a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
@for $i from 1 through $level {
$chain: $chain + $chainable;
$selector: $selector + ',
' + $chain + ' a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
$selector: $selector + ', ' + $chain + ' a.highlighted, ' + $chain + '*:not(ul) a.highlighted';
}
#{$selector} {
border-radius: 0;
}
}
}

1 comment on commit 628bd53

@vahidalvandi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add new tag for this commit

Please sign in to comment.