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: https://github.com/siyuan-note/siyuan/issues/12302
Vanessae748cad70887
diff --git a/app/src/window/setHeader.ts b/app/src/window/setHeader.tsindex cfeae50cc0..3af8c8239c 100644--- a/app/src/window/setHeader.ts+++ b/app/src/window/setHeader.ts@@ -4,7 +4,7 @@ import {getAllTabs, getAllWnds} from "../layout/getAll";import {Editor} from "../editor";import {Asset} from "../asset";import {Constants} from "../constants";-import { ipcRenderer } from "electron";+import {ipcRenderer} from "electron";export const setTabPosition = () => {if (!isWindow()) {@@ -17,9 +17,12 @@ export const setTabPosition = () => {const rect = headerElement.getBoundingClientRect();const dragElement = headerElement.querySelector(".item--readonly .fn__flex-1") as HTMLElement;if (rect.top <= 0) {+ dragElement.parentElement.parentElement.style.minWidth = "95px";dragElement.style.height = dragElement.parentElement.clientHeight + "px";(dragElement.style as CSSStyleDeclarationElectron).WebkitAppRegion = "drag";} else {+ dragElement.parentElement.parentElement.style.minWidth = "";+ dragElement.style.height = "";(dragElement.style as CSSStyleDeclarationElectron).WebkitAppRegion = "";}const headersLastElement = headerElement.lastElementChild as HTMLElement;