Fix typo error in css.js
This commit is contained in:
parent
f877be4806
commit
46220c927b
1 changed files with 1 additions and 1 deletions
2
css.js
2
css.js
|
@ -23,7 +23,7 @@ const walkStyles = (styles, trail=[], buffer=[]) => {
|
||||||
const rules = Array.isArray(children)
|
const rules = Array.isArray(children)
|
||||||
? children.map(e => Array.isArray(e) ? e.map(e => e.toString()).join(' ') : e.toString()).join(", ")
|
? children.map(e => Array.isArray(e) ? e.map(e => e.toString()).join(' ') : e.toString()).join(", ")
|
||||||
: children.toString()
|
: children.toString()
|
||||||
inner.push(`${keyToPropName(name)}: ${children}`)
|
inner.push(`${keyToPropName(name)}: ${rules}`)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (inner) buffer[position] = (`${diversify("", ...trail)} {${inner.join("; ")}}`)
|
if (inner) buffer[position] = (`${diversify("", ...trail)} {${inner.join("; ")}}`)
|
||||||
|
|
Loading…
Reference in a new issue