fix: "offsets" text when font is big

This commit is contained in:
Daniel Santos
2021-11-23 06:32:41 -03:00
committed by GitHub
parent ed57781594
commit fd22a01a3c

View File

@@ -27,6 +27,7 @@ export class FontMetrics {
container.style.fontSize = fontSize;
container.style.margin = '0';
container.style.padding = '0';
container.style.whiteSpace = 'nowrap';
body.appendChild(container);