mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-20 21:04:17 +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") {
|
||||
node.type = "html";
|
||||
node.value = `
|
||||
<div class="mermaid max-h-[600px] overflow-auto tiny-scrollbar">
|
||||
${escapeHtml(node.value)}
|
||||
</div>
|
||||
<div class="mermaid">${escapeHtml(node.value)}</div>
|
||||
`;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue