We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee49c4b + 4a92fc5 commit 1571b25Copy full SHA for 1571b25
packages/mermaid/src/diagrams/flowchart/flowDb.js
@@ -425,7 +425,7 @@ const setupToolTips = function (element) {
425
tooltipElem
426
.text(el.attr('title'))
427
.style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px')
428
- .style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');
+ .style('top', window.scrollY + rect.bottom + 'px');
429
tooltipElem.html(tooltipElem.html().replace(/<br\/>/g, '<br/>'));
430
el.classed('hover', true);
431
})
0 commit comments