limit mermaid width, #4340

pull/255/head
zadam 2023-10-21 23:24:43 +07:00
parent 4294c043d8
commit 7af79ec33b
1 changed files with 4 additions and 0 deletions

@ -19,6 +19,10 @@ const TPL = `<div class="mermaid-widget">
height: 100%;
text-align: center;
}
.mermaid-render svg {
width: 95%; /* https://github.com/zadam/trilium/issues/4340 */
}
</style>
<div class="mermaid-error alert alert-warning">