Skip to content

Commit

Permalink
extend bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Black Mirror committed Apr 27, 2018
1 parent f14a381 commit bec016b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/types/_object.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@

@each $key, $value in $current {
// If value is a nested map and same key from object is a nested map as well
@if is-object($value) and is-object(map-get($object, $key)) {
@if is-object($value) and is-object(map-get($o, $key)) {
// Recursive extend
$value: extend(get($object, $key), $value);
$value: extend(get($o, $key), $value);
} // Merge current tuple with object

$object: map-merge($object, ($key: $value));
$o: map-merge($o, ($key: $value));
}
}

Expand Down

0 comments on commit bec016b

Please sign in to comment.