Content is displayed wrongly when printing / Save as PDF (#4043)
This commit is contained in:
@@ -1275,6 +1275,7 @@ const EditorStyles = styled.div<{
|
|||||||
.placeholder:before,
|
.placeholder:before,
|
||||||
.block-menu-trigger,
|
.block-menu-trigger,
|
||||||
.heading-actions,
|
.heading-actions,
|
||||||
|
button.show-source-button,
|
||||||
h1:not(.placeholder):before,
|
h1:not(.placeholder):before,
|
||||||
h2:not(.placeholder):before,
|
h2:not(.placeholder):before,
|
||||||
h3:not(.placeholder):before,
|
h3:not(.placeholder):before,
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ export default createGlobalStyle`
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
print-color-adjust: exact;
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
}
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
|
|||||||
Reference in New Issue
Block a user