mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
limit mermaid width, #4340
This commit is contained in:
@@ -19,6 +19,10 @@ const TPL = `<div class="mermaid-widget">
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mermaid-render svg {
|
||||||
|
width: 95%; /* https://github.com/zadam/trilium/issues/4340 */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="mermaid-error alert alert-warning">
|
<div class="mermaid-error alert alert-warning">
|
||||||
|
|||||||
Reference in New Issue
Block a user