Repository navigation
Commit 579c865
fix(frontend): pin mermaid look and layout to the pre-12 defaults
Mermaid 12 changed its defaults from look: 'classic' / layout: 'dagre' to
look: 'neo' / layout: 'elk', which silently re-lays out and recolours every
existing flowchart, state and class diagram.
Pin both explicitly so the bump does not change rendering, and so the
container CSS keeps matching the text metrics mermaid computes. Switching
to ELK or the neo look stays a separate, deliberate change.
Co-Authored-By: Claude Opus 5 <[email protected]>1 parent 744dfad commit 579c865
2 files changed
Lines changed: 9 additions & 0 deletions
File tree
- packages/frontend
- src/components/Content/MarkdownContent/MarkdownRenderer
- test/unit/components/Content/MarkdownContent/MarkdownRenderer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
0 commit comments