Fix for padding issue and some cleanup

This commit is contained in:
Knut Sveidqvist
2022-06-14 20:09:55 +02:00
parent 3b8d74f1f9
commit 69b7b0e029
4 changed files with 15 additions and 12 deletions

View File

@@ -471,7 +471,6 @@ export const draw = function (text, id) {
rect.setAttribute('ry', 0);
rect.setAttribute('width', dim.width);
rect.setAttribute('height', dim.height);
// rect.setAttribute('style', 'fill:#e8e8e8;');
label.insertBefore(rect, label.firstChild);
}