This commit is contained in:
Aakansha Doshi 2023-03-31 16:15:32 +05:30
parent bc5e5e1ef0
commit 99500fc255
3 changed files with 1 additions and 4 deletions

View file

@ -311,8 +311,7 @@ export const measureBaseline = (
container.style.whiteSpace = "pre-wrap";
}
//@ts-ignore
container.style.lineHeight = lineHeight;
container.style.lineHeight = String(lineHeight);
container.innerText = text;