mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix: "offsets" text when font is big
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user