diff --git a/frontend/app.js b/frontend/app.js index 4beb7f3..bcecb0f 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -2573,7 +2573,21 @@ function noteApp() { startOnLoad: false, theme: mermaidTheme, securityLevel: 'strict', // Use strict for better security - fontFamily: 'inherit' + fontFamily: 'inherit', + // v11 changed useMaxWidth defaults - restore responsive behavior + flowchart: { useMaxWidth: true }, + sequence: { useMaxWidth: true }, + gantt: { useMaxWidth: true }, + journey: { useMaxWidth: true }, + timeline: { useMaxWidth: true }, + class: { useMaxWidth: true }, + state: { useMaxWidth: true }, + er: { useMaxWidth: true }, + pie: { useMaxWidth: true }, + quadrantChart: { useMaxWidth: true }, + requirement: { useMaxWidth: true }, + mindmap: { useMaxWidth: true }, + gitGraph: { useMaxWidth: true } }); this.lastMermaidTheme = mermaidTheme; } @@ -3659,15 +3673,23 @@ function noteApp() { - + - +