mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-09 13:16:08 +08:00
Don't add scroll to Mermaid graphs
This commit is contained in:
parent
8d33579f37
commit
803cf37f68
1 changed files with 1 additions and 3 deletions
|
|
@ -181,9 +181,7 @@ function remarkPrepareMermaid(options) {
|
||||||
if (node.lang === "mermaid") {
|
if (node.lang === "mermaid") {
|
||||||
node.type = "html";
|
node.type = "html";
|
||||||
node.value = `
|
node.value = `
|
||||||
<div class="mermaid max-h-[600px] overflow-auto tiny-scrollbar">
|
<div class="mermaid">${escapeHtml(node.value)}</div>
|
||||||
${escapeHtml(node.value)}
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue