diff --git a/src/css/print.scss b/src/css/print.scss index 722f6c321a6..ea39f4710d7 100644 --- a/src/css/print.scss +++ b/src/css/print.scss @@ -46,6 +46,11 @@ position: unset; div.ProseMirror { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + h1, h2, h3, h4, h5 { // orphaned headlines are ugly break-after: avoid;