Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/18207

Vanessac9581a82ca72
diff --git a/app/src/window/onWindowsMsg.ts b/app/src/window/onWindowsMsg.ts
index c08a67f919..d179e25c21 100644
--- a/app/src/window/onWindowsMsg.ts
+++ b/app/src/window/onWindowsMsg.ts
@@ -25,7 +25,7 @@ export const onWindowsMsg = (ipcData: IWebSocketData, app: App) => {
});
} else {
document.querySelectorAll(".layout-tab-bar--readonly .fn__flex-1").forEach((item: HTMLElement) => {
- if (item.getBoundingClientRect().top <= 0) {
+ if (item.getBoundingClientRect().top <= 6) {
if (ipcData.data === "addRegionStyle") {
(item.style as CSSStyleDeclarationElectron).WebkitAppRegion = "drag";
} else if (ipcData.data === "removeRegionStyle") {