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/17628

Vanessa0c741710e31a
diff --git a/app/src/assets/scss/mobile.scss b/app/src/assets/scss/mobile.scss
index 5336c05bcc..c669d31a48 100644
--- a/app/src/assets/scss/mobile.scss
+++ b/app/src/assets/scss/mobile.scss
@@ -14,6 +14,7 @@
@use "business/graph" as *;
@use "business/layout" as *;
@use "business/block" as *;
+@use "business/resize" as *;
@use "util/reset" as *;
@use "util/function" as *;
@use "business/history" as *;
diff --git a/app/src/util/touchDragBridge.ts b/app/src/util/touchDragBridge.ts
index 5e6eb07261..9839b168fb 100644
--- a/app/src/util/touchDragBridge.ts
+++ b/app/src/util/touchDragBridge.ts
@@ -46,8 +46,8 @@ const handleManualTouchStart = (e: TouchEvent) => {
const mouseEvent = new MouseEvent("mousedown", {
bubbles: true,
cancelable: true,
- clientX:touch.clientX,
- clientY:touch.clientY,
+ clientX: touch.clientX,
+ clientY: touch.clientY,
button: 0,
view: window,
});
@@ -79,8 +79,8 @@ const handleManualTouchEnd = (e: TouchEvent) => {
if (typeof document.onmouseup !== "function") return;
const target = e.changedTouches[0].target || document.body;
target.dispatchEvent(new MouseEvent("mouseup", {
- clientX:e.changedTouches[0].clientX,
- clientY:e.changedTouches[0].clientY,
+ clientX: e.changedTouches[0].clientX,
+ clientY: e.changedTouches[0].clientY,
bubbles: true,
}));
}