Skip to content

Commit

Permalink
fix(css): Don't print landing page widgets
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 42f78c3 commit 16a6821
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Page/LandingPageWidgets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
</style>
7 changes: 7 additions & 0 deletions src/components/Page/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,11 @@ export default {
}
}
}
@media print {
/* Don't print unwanted elements */
.text-container-heading {
display: none !important;
}
}
</style>

0 comments on commit 16a6821

Please sign in to comment.