Skip to content

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

:bug: Prevent oversized task icons before mindmap initialization

Danield212a5281f46
diff --git a/app/src/assets/scss/protyle/_mindmap-view.scss b/app/src/assets/scss/protyle/_mindmap-view.scss
index aa5913a75e..8e32fbe1c1 100644
--- a/app/src/assets/scss/protyle/_mindmap-view.scss
+++ b/app/src/assets/scss/protyle/_mindmap-view.scss
@@ -4,6 +4,13 @@
.protyle-wysiwyg,
.b3-typography {
+ // 脑图初始化前仍显示原始节点,列表标记沿用普通列表的图标尺寸。
+ .mindmap-item > .protyle-action > svg {
+ display: block;
+ width: 34px;
+ height: max(14px, 1em - 4px);
+ }
+
[data-type="NodeList"][data-mindmap-view-rendered="true"],
[data-type="NodeMindmap"][data-mindmap-view-rendered="true"] {
height: auto !important;