mirror of https://github.com/laurent22/joplin.git
parent
0f8f7aeb14
commit
734f83470c
|
@ -18,7 +18,7 @@ function mermaidInit() {
|
|||
// Resetting elements size - see mermaid.ts
|
||||
const elements = document.getElementsByClassName('mermaid');
|
||||
for (const element of elements) {
|
||||
element.style.width = '100%';
|
||||
element.style.width = 'fit-content';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue