mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-03 05:57:47 +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;
|
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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user