Skip to content

Commit

Permalink
Fix for broker error diagram related #4178
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Aug 11, 2023
1 parent c5e7e60 commit 4930231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mermaid/src/diagrams/error/errorRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const draw = (_text: string, id: string, version: string) => {
log.debug('renering svg for syntax error\n');

const svg: SVG = selectSvgElement(id);
svg.attr('viewBox', '768 0 912 512');
configureSvgSize(svg, 100, 500, true);
svg.attr('viewBox', '0 0 1912 512');
configureSvgSize(svg, 100, 512, true);

const g: Group = svg.append('g');
g.append('path')
Expand Down

0 comments on commit 4930231

Please sign in to comment.