mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
prevent title from overlapping with box top border in Safari
This commit is contained in:
@@ -524,7 +524,7 @@ export const drawBox = function (elem, box, conf) {
|
||||
box.name,
|
||||
g,
|
||||
box.x,
|
||||
box.y + (box.textMaxHeight || 0) / 2,
|
||||
box.y + conf.boxTextMargin + (box.textMaxHeight || 0) / 2,
|
||||
box.width,
|
||||
0,
|
||||
{ class: 'text' },
|
||||
|
Reference in New Issue
Block a user