We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862a61e commit a34cf18Copy full SHA for a34cf18
packages/av-cliper/src/dom-utils.ts
@@ -34,7 +34,6 @@ export async function renderTxt2Img(
34
} = {},
35
): Promise<HTMLImageElement> {
36
const div = createEl('pre');
37
- if (!cssText.includes('line-height')) { cssText += 'line-height: 1;'; }
38
div.style.cssText = `margin: 0; ${cssText}; position: fixed;`;
39
div.textContent = txt;
40
document.body.appendChild(div);
0 commit comments