Skip to content

Commit

Permalink
Fix dart Sass compatibility for subtract (twbs#29763)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and olsza committed Oct 3, 2020
1 parent 25ecba3 commit 5a362ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_functions.scss
Expand Up @@ -143,5 +143,5 @@
@return $value1 - $value2;
}

@return if($return-calc == true, calc(#{$value1} - #{$value2}), #{$value1} - #{$value2});
@return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2);
}

0 comments on commit 5a362ca

Please sign in to comment.