Skip to content

Commit aef813c

Browse files
committed
fix: fix characters overlap in screenshot
closes #216
1 parent 3763ad7 commit aef813c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/exporter/image.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ export async function exportToPng(fileNameFormat: string) {
3535
background-color: ${isDarkMode ? '#212121' : '#fff'};
3636
}
3737
38+
/* https://github.com/niklasvh/html2canvas/issues/2775#issuecomment-1204988157 */
39+
img {
40+
display: initial !important;
41+
}
42+
3843
pre {
3944
margin-top: 8px !important;
4045
}

0 commit comments

Comments
 (0)