prevent title from overlapping with box top border in Safari

This commit is contained in:
darshanr0107
2025-07-14 14:11:06 +05:30
parent 55527e70c2
commit 966c112eb1

View File

@@ -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' },