mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 15:34:06 +01:00
🚨
This commit is contained in:
parent
887443c321
commit
39f9aaca82
11 changed files with 45 additions and 46 deletions
|
|
@ -26,7 +26,7 @@ export const showTooltip = (message: string, target: Element, error = false) =>
|
|||
messageElement.classList.add("tooltip--memo"); // 为行级备注添加 class https://github.com/siyuan-note/siyuan/issues/6161
|
||||
}
|
||||
let left = targetRect.left;
|
||||
let topSpace = 8
|
||||
let topSpace = 8;
|
||||
const position = target.getAttribute("data-position");
|
||||
if (position === "right") {
|
||||
left = targetRect.right - messageElement.clientWidth;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue