Skip to content

Commit

Permalink
fix: fix characters overlap in screenshot
Browse files Browse the repository at this point in the history
closes #216
  • Loading branch information
pionxzh committed Mar 31, 2024
1 parent 3763ad7 commit aef813c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/exporter/image.ts
Expand Up @@ -35,6 +35,11 @@ export async function exportToPng(fileNameFormat: string) {
background-color: ${isDarkMode ? '#212121' : '#fff'};
}
/* https://github.com/niklasvh/html2canvas/issues/2775#issuecomment-1204988157 */
img {
display: initial !important;
}
pre {
margin-top: 8px !important;
}
Expand Down

0 comments on commit aef813c

Please sign in to comment.