Skip to content

Commit

Permalink
fix(css): No top+bottom margin+padding for editor in print view
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Nov 29, 2023
1 parent aff3a1a commit 280948b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 280948b

Please sign in to comment.