An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/7355
Vanessa035857b1bc41
diff --git a/app/src/window/setHeader.ts b/app/src/window/setHeader.tsindex 8ee87f38fc..4d22af8a85 100644--- a/app/src/window/setHeader.ts+++ b/app/src/window/setHeader.ts@@ -38,7 +38,8 @@ export const setTabPosition = () => {item.headersElement.style.paddingLeft = "";}} else {- if (rect.top <= 0 && rect.right >= window.innerWidth) {+ // 显示器缩放后像素存在小数点偏差 https://github.com/siyuan-note/siyuan/issues/7355+ if (rect.top <= 0 && rect.right + 8 >= window.innerWidth) {(headerElement.lastElementChild as HTMLElement).style.paddingRight = (42 * 3) + "px";} else {(headerElement.lastElementChild as HTMLElement).style.paddingRight = "";