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/6250

Vanessa2e160b93fd01
diff --git a/app/src/layout/util.ts b/app/src/layout/util.ts
index 463df5cb13..b1027f91ef 100644
--- a/app/src/layout/util.ts
+++ b/app/src/layout/util.ts
@@ -445,6 +445,13 @@ export const resizeTabs = () => {
}
}
});
+ // https://github.com/siyuan-note/siyuan/issues/6250
+ models.backlink.forEach(item => {
+ const mTreeElement = item.element.querySelector(".backlinkMList") as HTMLElement;
+ if (mTreeElement.style.height) {
+ mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) +"px"
+ }
+ })
pdfResize();
}, 200);
};