mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
feat(mermaid): make diagram full width for pan/zoom purposes
This commit is contained in:
parent
592a7fe771
commit
7a16774cdc
@ -33,6 +33,11 @@ const TPL = `<div class="mermaid-widget">
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mermaid-render svg {
|
||||
max-width: 100% !important;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="mermaid-error alert alert-warning">
|
||||
|
Loading…
x
Reference in New Issue
Block a user