Bläddra i källkod

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

Vanessa 2 år sedan
förälder
incheckning
ac31b61a19
1 ändrade filer med 1 tillägg och 1 borttagningar
  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) {