diff --git a/src/public/app/widgets/mermaid.ts b/src/public/app/widgets/mermaid.ts index 878a90af7..82fb26fcd 100644 --- a/src/public/app/widgets/mermaid.ts +++ b/src/public/app/widgets/mermaid.ts @@ -14,7 +14,6 @@ const TPL = `
overflow: auto; min-height: 200px; border-bottom: 1px solid var(--main-border-color); - padding: 20px; margin-bottom: 10px; flex-basis: 0; } @@ -24,10 +23,6 @@ const TPL = `
height: 100%; text-align: center; } - - .mermaid-render svg { - width: 95%; /* https://github.com/zadam/trilium/issues/4340 */ - }