diff --git a/assets/js/lib/markdown.js b/assets/js/lib/markdown.js
index f6ef10f2c..cd4fb66e4 100644
--- a/assets/js/lib/markdown.js
+++ b/assets/js/lib/markdown.js
@@ -50,8 +50,6 @@ class Markdown {
// can use morphdom's childrenOnly option
const wrappedHtml = `
${html}
`;
morphdom(this.container, wrappedHtml, { childrenOnly: true });
-
- this._fixMermaidSpacing();
});
}
@@ -90,13 +88,6 @@ class Markdown {
})
);
}
-
- _fixMermaidSpacing() {
- // A workaround for https://github.com/mermaid-js/mermaid/issues/1758
- for (const svg of this.container.querySelectorAll(".mermaid svg")) {
- svg.removeAttribute("height");
- }
- }
}
export default Markdown;
diff --git a/assets/package-lock.json b/assets/package-lock.json
index 0012d83df..2ddc10a06 100644
--- a/assets/package-lock.json
+++ b/assets/package-lock.json
@@ -63,7 +63,7 @@
"version": "3.3.0"
},
"../deps/phoenix_live_view": {
- "version": "0.18.15",
+ "version": "0.18.18",
"license": "MIT"
},
"node_modules/@ampproject/remapping": {