Skip to content

Commit

Permalink
fix: Prevent empty additional pages added when printing
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Feb 10, 2023
1 parent d66424f commit de8d391
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/views/CollectivePrintView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ export default {

<style>
@media print {
/* Shrink to body to prevent empty pages */
body {
height: fit-content;
}
#content-vue {
position: static;
overflow: visible;
Expand Down

0 comments on commit de8d391

Please sign in to comment.