Sfoglia il codice sorgente

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

Vanessa 2 anni fa
parent
commit
ac31b61a19
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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") {
     if (target.parentElement.getAttribute("data-type") === "navigation-file") {
         const parentRect = target.parentElement.getBoundingClientRect();
         const parentRect = target.parentElement.getBoundingClientRect();
-        setPosition(messageElement, parentRect.right, parentRect.top);
+        setPosition(messageElement, parentRect.right + 8, parentRect.top);
         return;
         return;
     }
     }
     if (error) {
     if (error) {