From c6fbad3c5227c342a089be8ea01f04e441c889b2 Mon Sep 17 00:00:00 2001 From: Heerko Date: Thu, 8 Jul 2021 16:39:03 +0200 Subject: [PATCH] Make all content visible when printing --- front/src/components/Content/Chapter.vue | 51 ++++++++++++------------ front/src/components/Content/index.vue | 6 ++- front/src/views/Home.vue | 6 +-- 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/front/src/components/Content/Chapter.vue b/front/src/components/Content/Chapter.vue index 99d3906..21196ed 100644 --- a/front/src/components/Content/Chapter.vue +++ b/front/src/components/Content/Chapter.vue @@ -1,43 +1,42 @@ \ No newline at end of file diff --git a/front/src/components/Content/index.vue b/front/src/components/Content/index.vue index 1e9d317..87ae565 100644 --- a/front/src/components/Content/index.vue +++ b/front/src/components/Content/index.vue @@ -1,17 +1,18 @@ diff --git a/front/src/views/Home.vue b/front/src/views/Home.vue index 24a9084..c2dda97 100644 --- a/front/src/views/Home.vue +++ b/front/src/views/Home.vue @@ -10,7 +10,7 @@ - + @@ -54,7 +54,7 @@ export default { this.toggle_ui(null, false); setTimeout(() => { window.print(); - if (prev) this.toggle_ui(null, true); + // if (prev) this.toggle_ui(null, true); }, 1000); let paged = new Previewer(); console.log(paged); @@ -98,7 +98,7 @@ export default { overflow: initial; } -iframe { +.print .content iframe { width: 100%; height: 100%; }