mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 13:02:00 +08:00
style(mermaid): redundant margins
This commit is contained in:
parent
6f15169b18
commit
4e81e1e5a8
@ -14,7 +14,6 @@ const TPL = `<div class="mermaid-widget">
|
||||
overflow: auto;
|
||||
min-height: 200px;
|
||||
border-bottom: 1px solid var(--main-border-color);
|
||||
padding: 20px;
|
||||
margin-bottom: 10px;
|
||||
flex-basis: 0;
|
||||
}
|
||||
@ -24,10 +23,6 @@ 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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user