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