Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/5691

Vanessa24ededa17a4c
diff --git a/app/src/assets/scss/_typography.scss b/app/src/assets/scss/_typography.scss
index ec2e865eaf..6a635cdade 100644
--- a/app/src/assets/scss/_typography.scss
+++ b/app/src/assets/scss/_typography.scss
@@ -270,10 +270,14 @@
overflow-x: overlay;
}
- [data-subtype="echarts"] > div,
- [data-subtype="mindmap"] > div {
- overflow: hidden;
- height: 420px;
+ [data-subtype="echarts"],
+ [data-subtype="mindmap"] {
+ z-index: 1;
+
+ & > div {
+ overflow: hidden;
+ height: 420px;
+ }
}
.katex-display {
@@ -336,6 +340,10 @@
text-align: center;
}
+ [data-subtype="mermaid"] {
+ overflow: auto;
+ }
+
[data-subtype="plantuml"] img {
border-radius: 4px;
}