Fix typo error in css.js

This commit is contained in:
Talia 2021-10-19 20:01:35 +02:00
parent f877be4806
commit 46220c927b
No known key found for this signature in database
GPG key ID: AD727AD22802D0D6

2
css.js
View file

@ -23,7 +23,7 @@ const walkStyles = (styles, trail=[], buffer=[]) => {
const rules = Array.isArray(children)
? children.map(e => Array.isArray(e) ? e.map(e => e.toString()).join(' ') : e.toString()).join(", ")
: children.toString()
inner.push(`${keyToPropName(name)}: ${children}`)
inner.push(`${keyToPropName(name)}: ${rules}`)
}
})
if (inner) buffer[position] = (`${diversify("", ...trail)} {${inner.join("; ")}}`)