From ee33d44ea6327c35087ec9e424882d773be04a85 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 27 Oct 2023 22:10:45 +0200 Subject: [PATCH] fix(css): Get rid of empty trailing page when printing Signed-off-by: Jonas --- src/Collectives.vue | 7 +++++++ src/components/PagePrint.vue | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Collectives.vue b/src/Collectives.vue index 20f5d9ff95..c70b6cee5c 100644 --- a/src/Collectives.vue +++ b/src/Collectives.vue @@ -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 */ diff --git a/src/components/PagePrint.vue b/src/components/PagePrint.vue index a1fcb1287a..0197c8da04 100644 --- a/src/components/PagePrint.vue +++ b/src/components/PagePrint.vue @@ -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; }