diff options
author | Gaƫl Poupard <ffoodd@users.noreply.github.com> | 2021-07-27 07:48:08 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-09-15 15:31:00 +0300 |
commit | 1db75d111b75fcefc9e1764483b012c78c390737 (patch) | |
tree | b93098bc26477b6121edc1fa8b877de98f5c5cdf | |
parent | 01036ff2ef4ded5e1e5601f9d8a0f2a1d9c6b866 (diff) |
More concise improvements for `add()` and `subtract()` (#34432)
-rw-r--r-- | scss/_functions.scss | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss index f940fb430a..13d9de0c1f 100644 --- a/scss/_functions.scss +++ b/scss/_functions.scss @@ -120,14 +120,6 @@ @return $value1 + $value2; } - @if type-of($value1) != number { - $value1: unquote("(") + $value1 + unquote(")"); - } - - @if type-of($value2) != number { - $value2: unquote("(") + $value2 + unquote(")"); - } - @return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2); } @@ -148,10 +140,6 @@ @return $value1 - $value2; } - @if type-of($value1) != number { - $value1: unquote("(") + $value1 + unquote(")"); - } - @if type-of($value2) != number { $value2: unquote("(") + $value2 + unquote(")"); } |