Skip to content

Commit

Permalink
Merge branch 'master' into master-mc-rfs-802
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 6, 2019
2 parents aaee0f7 + 7626f8b commit 723f65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_functions.scss
Expand Up @@ -8,7 +8,7 @@
$prev-key: null;
$prev-num: null;
@each $key, $num in $map {
@if $prev-num == null or unit($num) == "%" {
@if $prev-num == null or unit($num) == "%" or unit($prev-num) == "%" {
// Do nothing
} @else if not comparable($prev-num, $num) {
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
Expand Down

0 comments on commit 723f65a

Please sign in to comment.