deleting a value in design causes styles to be lost

This commit is contained in:
Michael Shanks 2020-06-02 12:41:52 +01:00
parent ee7d93c3b9
commit 44cc7eab0e
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ export const generate_css = style => {
return (str += `${key}: ${value.join(" ")};\n`) return (str += `${key}: ${value.join(" ")};\n`)
} }
} }
return str
}, "") }, "")
return (cssString || "").trim() return (cssString || "").trim()