Skip to content

Commit

Permalink
fix(css): Get rid of empty trailing page when printing
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Oct 27, 2023
1 parent 16a6821 commit ee33d44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/Collectives.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ export default {
#content-vue {
display: block !important;
}
#text-wrapper #text div.ProseMirror {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
}
/* Align toggle with page list header bar */
Expand Down
5 changes: 4 additions & 1 deletion src/components/PagePrint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ export default {
}
:deep(#read-only-editor div.ProseMirror) {
margin-top: revert;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
</style>

0 comments on commit ee33d44

Please sign in to comment.