diff options
-rw-r--r-- | src/_functions.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/_functions.scss b/src/_functions.scss index fe28088..fa6ed39 100644 --- a/src/_functions.scss +++ b/src/_functions.scss | |||
@@ -359,9 +359,11 @@ $units: ( | |||
359 | /// | 359 | /// |
360 | @function to-length($value, $unit) { | 360 | @function to-length($value, $unit) { |
361 | @if not list.index(map.keys($units), $unit) { | 361 | @if not list.index(map.keys($units), $unit) { |
362 | @error 'Invalid unit `#{$unit} | 362 | @error 'Invalid unit `#{$unit}`.'; |
363 | } | ||
363 | 364 | ||
364 | @return $value * map.get($units, $unit); | 365 | @return $value * map.get($units, $unit); |
366 | } | ||
365 | 367 | ||
366 | /// | 368 | /// |
367 | /// A mixin with the sole purpose of letting you use temporary variables without polluting the global namespace. | 369 | /// A mixin with the sole purpose of letting you use temporary variables without polluting the global namespace. |
@@ -370,6 +372,4 @@ $units: ( | |||
370 | /// | 372 | /// |
371 | @mixin execute { | 373 | @mixin execute { |
372 | @content; | 374 | @content; |
373 | }`.'; | 375 | } |
374 | } | ||
375 | } | ||