diff --git a/src/render/font-metrics.ts b/src/render/font-metrics.ts index 3355ed1..f40555c 100644 --- a/src/render/font-metrics.ts +++ b/src/render/font-metrics.ts @@ -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);