Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorGaƫl Poupard <ffoodd@users.noreply.github.com>2021-07-27 07:48:08 +0300
committerGitHub <noreply@github.com>2021-07-27 07:48:08 +0300
commit85364745831ba5513ee7e940fe571cb4268810b8 (patch)
tree322445f777a18c300db9c23662f1993964a3be2b /scss
parentd140981fdbc5f7ee60a8a18a1710597a976af5a4 (diff)
More concise improvements for `add()` and `subtract()` (#34432)
Diffstat (limited to 'scss')
-rw-r--r--scss/_functions.scss12
1 files changed, 0 insertions, 12 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss
index f8e43702d5..1f3263175e 100644
--- a/scss/_functions.scss
+++ b/scss/_functions.scss
@@ -191,14 +191,6 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
@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);
}
@@ -219,10 +211,6 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
@return $value1 - $value2;
}
- @if type-of($value1) != number {
- $value1: unquote("(") + $value1 + unquote(")");
- }
-
@if type-of($value2) != number {
$value2: unquote("(") + $value2 + unquote(")");
}