Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Set the content to `display: inline-block` as especially Firefox has otherwise troubles when printing. Before, it only exported one page and then cuts it off. But also the other browsers had troubles cutting of the content weirdly

Henriette Dargebdc19c8eb17b
diff --git a/frontend/src/global_styles/layout/_print.sass b/frontend/src/global_styles/layout/_print.sass
index 3cb62d7d0d3..a33abe55ef0 100644
--- a/frontend/src/global_styles/layout/_print.sass
+++ b/frontend/src/global_styles/layout/_print.sass
@@ -33,6 +33,11 @@
#content
overflow: visible !important
+ &:not(.content--split)
+ // Otherwise content will be cut off weirdly between the pages in all browser
+ // and Firefox will show only the first page
+ display: inline-block
+
.autoscroll
overflow-x: visible