style(mermaid): redundant margins

This commit is contained in:
Elian Doran 2025-03-18 18:36:20 +02:00
parent 6f15169b18
commit 4e81e1e5a8
No known key found for this signature in database

View File

@ -14,7 +14,6 @@ const TPL = `<div class="mermaid-widget">
overflow: auto; overflow: auto;
min-height: 200px; min-height: 200px;
border-bottom: 1px solid var(--main-border-color); border-bottom: 1px solid var(--main-border-color);
padding: 20px;
margin-bottom: 10px; margin-bottom: 10px;
flex-basis: 0; flex-basis: 0;
} }
@ -24,10 +23,6 @@ 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">