Forráskód Böngészése

:art: fix https://github.com/siyuan-note/siyuan/issues/8741

Vanessa 2 éve
szülő
commit
ac31b61a19
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/src/dialog/tooltip.ts

+ 1 - 1
app/src/dialog/tooltip.ts

@@ -19,7 +19,7 @@ export const showTooltip = (message: string, target: Element, error = false) =>
     }
     if (target.parentElement.getAttribute("data-type") === "navigation-file") {
         const parentRect = target.parentElement.getBoundingClientRect();
-        setPosition(messageElement, parentRect.right, parentRect.top);
+        setPosition(messageElement, parentRect.right + 8, parentRect.top);
         return;
     }
     if (error) {