mirror of
https://github.com/mermaid-js/mermaid-live-editor.git
synced 2026-11-04 08:59:08 +00:00
fix: lint errors
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -4,7 +4,6 @@
|
|||||||
"bracketSameLine": true,
|
"bracketSameLine": true,
|
||||||
"trailingComma": "none",
|
"trailingComma": "none",
|
||||||
"printWidth": 100,
|
"printWidth": 100,
|
||||||
"tailwindConfig": "./tailwind.config.js",
|
|
||||||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
|
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
|
||||||
"tailwindStylesheet": "./src/app.css"
|
"tailwindStylesheet": "./src/app.css"
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,9 @@
|
|||||||
svg = getSvgElement();
|
svg = getSvgElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
svg.style.backgroundColor = window.getComputedStyle(document.body).getPropertyValue('--background');
|
svg.style.backgroundColor = window
|
||||||
|
.getComputedStyle(document.body)
|
||||||
|
.getPropertyValue('--background');
|
||||||
|
|
||||||
const svgString = svg.outerHTML
|
const svgString = svg.outerHTML
|
||||||
.replaceAll('<br>', '<br/>')
|
.replaceAll('<br>', '<br/>')
|
||||||
|
|||||||
Reference in new issue
Block a user