From ac31b61a19823299248367d6bed633503225c95e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 12 Jul 2023 18:11:21 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/8741 --- app/src/dialog/tooltip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/dialog/tooltip.ts b/app/src/dialog/tooltip.ts index 4d162adc9..e0c7c4f4d 100644 --- a/app/src/dialog/tooltip.ts +++ b/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) {