limit mermaid width, #4340

This commit is contained in:
zadam 2023-10-21 23:24:43 +02:00
parent 4294c043d8
commit 7af79ec33b

View File

@ -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">