Skip to content

Commit

Permalink
refactor(property): update property.name() function to remove empty…
Browse files Browse the repository at this point in the history
… lists from `$name`.
  • Loading branch information
sciborrudnicki committed Sep 25, 2023
1 parent 7d0c18e commit 21ef23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions property/_property.name.function.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
$name: list.nth($name, 1);
}

$name: list.remove-list($name, 0);
$property: if(list.has-list($name) and list.separator($name) == space, selector.nest($name...), selector.nest($name));
@for $i from 1 through list.length($property) {
$property: list.set-nth($property, $i, string.unquote(string.join('-', list.nth($property, $i))));
Expand Down

0 comments on commit 21ef23a

Please sign in to comment.