diff options
| author | Volpeon <git@volpeon.ink> | 2021-11-26 15:40:04 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-11-26 15:40:04 +0100 |
| commit | e20e9a1a94090b263746acf475a1212522c6f9fa (patch) | |
| tree | d4e75dbb8dea59e32e2586e5f51f9c5d4913aa5c | |
| parent | v1.0.1 (diff) | |
| download | iro-sass-e20e9a1a94090b263746acf475a1212522c6f9fa.tar.gz iro-sass-e20e9a1a94090b263746acf475a1212522c6f9fa.tar.bz2 iro-sass-e20e9a1a94090b263746acf475a1212522c6f9fa.zip | |
Fix empty map check for Dart Sass
| -rw-r--r-- | src/_props.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_props.scss b/src/_props.scss index 1bdef2a..efc3eea 100644 --- a/src/_props.scss +++ b/src/_props.scss | |||
| @@ -332,7 +332,7 @@ $iro-props-namespace-context-id: 'namespace' !default; | |||
| 332 | $value: null; | 332 | $value: null; |
| 333 | } | 333 | } |
| 334 | } | 334 | } |
| 335 | @if type-of($value) != map { | 335 | @if type-of($value) != map and $value != () { |
| 336 | #{$prefix + $key}: #{$value}; | 336 | #{$prefix + $key}: #{$value}; |
| 337 | } @else { | 337 | } @else { |
| 338 | @include iro-props-assign-internal($value, $prefix + $key, $rd); | 338 | @include iro-props-assign-internal($value, $prefix + $key, $rd); |
