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

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-10-20 13:43:53 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-10-21 16:43:12 +0300
commitd073bc94689a46031a38840d099b9dde2f072c15 (patch)
treea5b0ed3f9a694a314693cb84d813e35b26094bc5 /scss.scss
parentd6cb9a5cc9c4bf7b32dd40e64665a4040245f0a7 (diff)
Remove duplicate calc() function
Diffstat (limited to 'scss.scss')
-rw-r--r--scss.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss.scss b/scss.scss
index dd929c8..45213e3 100644
--- a/scss.scss
+++ b/scss.scss
@@ -221,7 +221,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
$variable-width: #{$value-diff * 100 / $rfs-breakpoint}#{$variable-unit};
// Return the calculated value
- $val: $val + ' ' + if($value < 0, calc(-#{$min-width} - #{$variable-width}), calc(#{$min-width} + #{$variable-width}));
+ $val: $val + ' calc(' + if($value < 0, -#{$min-width} - #{$variable-width}, #{$min-width} + #{$variable-width}) + ')';
}
}
}