workaround for wrongly placed tooltip, closes #2794

This commit is contained in:
zadam
2022-04-16 15:51:30 +02:00
parent 51e5f591b2
commit 73425ec29d
2 changed files with 5 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ async function mouseEnterHandler() {
placement: 'auto',
trigger: 'manual',
boundary: 'window',
offset: "0, 20", // workaround for https://github.com/zadam/trilium/issues/2794
title: html,
html: true,
template: '<div class="tooltip note-tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',