Content is displayed wrongly when printing / Save as PDF (#4043)

This commit is contained in:
Nicolas Caluori
2022-09-02 10:05:09 +02:00
committed by GitHub
parent 67d119f932
commit 2d29f0f042
2 changed files with 3 additions and 0 deletions

View File

@@ -1275,6 +1275,7 @@ const EditorStyles = styled.div<{
.placeholder:before,
.block-menu-trigger,
.heading-actions,
button.show-source-button,
h1:not(.placeholder):before,
h2:not(.placeholder):before,
h3:not(.placeholder):before,

View File

@@ -15,6 +15,8 @@ export default createGlobalStyle`
min-height: 100vh;
margin: 0;
padding: 0;
print-color-adjust: exact;
-webkit-print-color-adjust: exact;
}
body,