From 434e8174fab95819d83c78d2b2357096d6a46445 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 2 Jul 2025 17:33:16 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15198 --- app/src/protyle/util/editorCommonEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index fbc3eee7d..f668b3c73 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -859,7 +859,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { cloneItem.querySelector(".av__gallery-fields").setAttribute("style", "background-color: var(--b3-theme-background)"); ghostElement.append(cloneItem); }); - ghostElement.setAttribute("style", "position:fixed;opacity:.1;padding:0;"); + ghostElement.setAttribute("style", "top:100vh;position:fixed;opacity:.1;padding:0"); document.body.append(ghostElement); event.dataTransfer.setDragImage(ghostElement, -10, -10); setTimeout(() => {