We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e91a91 commit 6d7a5e4Copy full SHA for 6d7a5e4
1 file changed
src/parseMermaid.ts
@@ -20,7 +20,7 @@ const convertSvgToGraphImage = (svgContainer: HTMLDivElement) => {
20
21
// Set width and height explicitly since in firefox it gets set to 0
22
// if the width and height are not explicitly set.
23
- // E.g., in some cases like er Diagram, gantt, width and height is set as 100%
+ // E.g., in some cases like an Entity-Relationship diagram or a Gantt diagram, the width and height are set as 100%
24
// which sets the dimensions as 0 in firefox and thus the diagram isn't rendered
25
svgEl.setAttribute("width", `${width}`);
26
svgEl.setAttribute("height", `${height}`);
0 commit comments