An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/6588
Vanessa7c41d289dd4e
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex 0030b486fa..a148374b71 100644--- a/app/pnpm-lock.yaml+++ b/app/pnpm-lock.yaml@@ -1906,10 +1906,10 @@ packages:resolution: {integrity: sha512-m0+M53+HYMzqKxwNQZT143K7WwXEGUy9LY31l8dJphXx2P/FQod615mVbxHyqbDCG4J5bHdWm21qZ0e2DVY6CQ==}engines: {node: '>=14.0.0'}dependencies:- 7zip-bin: 5.1.1'@develar/schema-utils': 2.6.5'@electron/universal': 1.2.1'@malept/flatpak-bundler': 0.4.0+ 7zip-bin: 5.1.1async-exit-hook: 2.0.1bluebird-lst: 1.0.9builder-util: 23.3.3@@ -2193,9 +2193,9 @@ packages:/builder-util/23.3.3:resolution: {integrity: sha512-MJZlUiq2PY5hjYv9+XNaoYdsITqvLgRDoHSFg/4nzpInbNxNjLQOolL04Zsyp+hgfcbFvMC4h0KkR1CMPHLWbA==}dependencies:- 7zip-bin: 5.1.1'@types/debug': 4.1.7'@types/fs-extra': 9.0.13+ 7zip-bin: 5.1.1app-builder-bin: 4.0.0bluebird-lst: 1.0.9builder-util-runtime: 9.0.3diff --git a/app/src/assets/scss/_protyle.scss b/app/src/assets/scss/_protyle.scssindex 5763328f60..458fc222f8 100644--- a/app/src/assets/scss/_protyle.scss+++ b/app/src/assets/scss/_protyle.scss@@ -8,7 +8,9 @@right: 0;height: 100%;top: 0;- width: 24px;+ width: 16px;+ padding: 0 8px;+svg {height: 16px;width: 16px;diff --git a/app/src/protyle/scroll/index.ts b/app/src/protyle/scroll/index.tsindex 40ecd44a35..ff98daadeb 100644--- a/app/src/protyle/scroll/index.ts+++ b/app/src/protyle/scroll/index.ts@@ -4,6 +4,7 @@ import {fetchPost} from "../../util/fetch";import {updateHotkeyTip} from "../util/compatibility";import {hasClosestByClassName} from "../util/hasClosest";import {goEnd, goHome} from "../wysiwyg/commonHotkey";+import {isMobile} from "../../util/functions";export class Scroll {public element: HTMLElement;@@ -15,6 +16,9 @@ export class Scroll {constructor(protyle: IProtyle) {this.parentElement = document.createElement("div");this.parentElement.classList.add("protyle-scroll");+ if (!isMobile()) {+ this.parentElement.style.right = "10px";+ }this.parentElement.innerHTML = `<div class="b3-tooltips b3-tooltips__nw protyle-scroll__up" aria-label="${updateHotkeyTip("⌘Home")}"><svg><use xlink:href="#iconUp"></use></svg></div>