🚀 improve svg stack generation

This commit is contained in:
platane
2020-11-05 11:03:14 +01:00
parent b71cd68bac
commit cbb4ebd010
4 changed files with 37 additions and 13 deletions

View File

@@ -97,7 +97,7 @@ export const createSvg = (
const style = elements
.map((e) => e.styles)
.flat()
.join("");
.join("\n");
const svg = [
h("svg", {