feat(mermaid): make diagram full width for pan/zoom purposes

This commit is contained in:
Elian Doran 2025-03-21 20:36:48 +02:00
parent 592a7fe771
commit 7a16774cdc
No known key found for this signature in database

View File

@ -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">