Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(markdown): improve max width of Mermaid diagrams
Elian Doran11b0bec47d82
diff --git a/apps/client/src/widgets/type_widgets/code/Markdown.css b/apps/client/src/widgets/type_widgets/code/Markdown.cssindex 224fb0d62f..30edf72ffe 100644--- a/apps/client/src/widgets/type_widgets/code/Markdown.css+++ b/apps/client/src/widgets/type_widgets/code/Markdown.css@@ -13,6 +13,11 @@overflow: auto;padding: 0.5em 1em;user-select: text;++ .mermaid-diagram,+ .mermaid-diagram svg {+ max-width: 100%;+ }}.markdown-preview [data-source-line] {