diff --git a/src/components/Page/LandingPageWidgets.vue b/src/components/Page/LandingPageWidgets.vue index 3886a71175..9d1ee52327 100644 --- a/src/components/Page/LandingPageWidgets.vue +++ b/src/components/Page/LandingPageWidgets.vue @@ -32,4 +32,11 @@ export default { .landing-page-widgets { padding-left: 12px; } + +@media print { + /* Don't print unwanted elements */ + .landing-page-widgets { + display: none !important; + } +} diff --git a/src/components/Page/TextEditor.vue b/src/components/Page/TextEditor.vue index e8fba96905..359220709c 100644 --- a/src/components/Page/TextEditor.vue +++ b/src/components/Page/TextEditor.vue @@ -279,4 +279,11 @@ export default { } } } + +@media print { + /* Don't print unwanted elements */ + .text-container-heading { + display: none !important; + } +}