mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 18:30:10 +02:00
Fix note text y position
This commit is contained in:
@@ -172,7 +172,7 @@ const drawNote = function (elem, startx, verticalPos, msg, forceWidth) {
|
||||
|
||||
const textObj = svgDraw.getTextObj()
|
||||
textObj.x = startx - 4
|
||||
textObj.y = verticalPos - 13
|
||||
textObj.y = verticalPos + 24
|
||||
textObj.textMargin = conf.noteMargin
|
||||
textObj.dy = '1em'
|
||||
textObj.text = msg.message
|
||||
|
Reference in New Issue
Block a user