mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
b26e1836b7
commit
ac31b61a19
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue