Skip to content

Commit

Permalink
Update packages/mermaid/src/diagrams/flowchart/flowDb.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sidharth Vinod <[email protected]>
  • Loading branch information
csholmq and sidharthv96 authored Oct 31, 2023
1 parent 0cb2677 commit 92f397d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/flowchart/flowDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ const setupToolTips = function (element) {
tooltipElem
.text(el.attr('title'))
.style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px')
.style('top', window.scrollY + rect.top + (rect.bottom - rect.top) + 'px');
.style('top', window.scrollY + rect.bottom + 'px');
tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, '<br/>'));
el.classed('hover', true);
})
Expand Down

0 comments on commit 92f397d

Please sign in to comment.