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: Align mobile pinned document drag preview https://github.com/siyuan-note/siyuan/issues/19401
Daniel64657bd65dd2
diff --git a/app/src/layout/dock/PinnedDocs.ts b/app/src/layout/dock/PinnedDocs.tsindex 56971f889e..573062fbfe 100644--- a/app/src/layout/dock/PinnedDocs.ts+++ b/app/src/layout/dock/PinnedDocs.ts@@ -534,8 +534,10 @@ export class PinnedDocs {state.timer = window.setTimeout(() => {if (this.touch !== state) { return; }state.dragging = true;- state.ghost = row.cloneNode(true) as HTMLElement;- state.ghost.style.cssText = `position:fixed;pointer-events:none;z-index:9999;opacity:.7;left:${state.x}px;top:${state.y}px`;+ state.ghost = document.createElement("ul");+ state.ghost.className = "b3-list b3-list--background";+ state.ghost.append(row.cloneNode(true));+ state.ghost.style.cssText = `background-color:var(--b3-theme-surface);width:100%;touch-action:none;pointer-events:none;margin-left:-50%;margin-top:20px;z-index:${window.siyuan.zIndex};position:fixed;left:${state.x}px;top:${state.y}px`;document.body.append(state.ghost);this.suppressClick = true;}, Constants.TIMEOUT_LONGPRESS);