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 29c353a195
commit 1034484034
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()