fix: 修复长文档分页与滚动同步

This commit is contained in:
SkyJourney
2026-07-26 08:43:56 +08:00
parent 1d93f31f85
commit d62552384f
15 changed files with 449 additions and 61 deletions
+3
View File
@@ -17,6 +17,9 @@ export function createMermaidSiteConfig(): MermaidConfig {
theme: "default",
look: "classic",
fontFamily: "Segoe UI, Microsoft YaHei, sans-serif",
flowchart: {
wrappingWidth: 320
},
maxTextSize: 50_000,
maxEdges: 500,
suppressErrorRendering: true,