Skip to content

Commit

Permalink
refactor: comply with official else-if notation (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
csshugs committed May 4, 2020
1 parent da4bc5e commit 41de11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/_tools.font-size.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
@if ($value == "none" or $value == false) {
// Avoid CSS output (conditional declaration).
@return null;
} @elseif (type-of($value) == number or $value == "inherit" or $value == "normal") {
} @else if (type-of($value) == number or $value == "inherit" or $value == "normal") {
@return $value;
} @else {
@error "`#{$value}` is not a valid value for `$line-height`.";
Expand Down

0 comments on commit 41de11a

Please sign in to comment.