From 865c5e3e463389308b2a39897c99bf02a265156d Mon Sep 17 00:00:00 2001 From: Black Mirror Date: Thu, 12 Jul 2018 15:38:04 +0200 Subject: [PATCH] unitstrip hotfix --- scss/types/_number.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/types/_number.scss b/scss/types/_number.scss index 3834c4d..dfcfe7e 100644 --- a/scss/types/_number.scss +++ b/scss/types/_number.scss @@ -39,7 +39,7 @@ /// @param {number} $n - the something ;-) /// @return {number} - the something unitstripped ;-) @function unitstrip($n) { - @if is-number($n) == 'number' and not unitless($n) { + @if is-number($n) and not unitless($n) { @return $n / ($n * 0 + 1); }