summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/scss/report.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/report.scss b/addons/web/static/src/scss/report.scss
index 86c0f986006..91500a689a7 100644
--- a/addons/web/static/src/scss/report.scss
+++ b/addons/web/static/src/scss/report.scss
@@ -64,3 +64,16 @@ div#total {
}
}
}
+
+// Wkhtmltopdf doesn't handle flexbox properly, both the content
+// of columns and columns themselves does not wrap over new lines
+// when needed: the font of the pdf will reduce to make the content
+// fit the page format.
+// A (weak) solution is to force the content on one line and
+// impose the width, so to have evenly size columns.
+// This should work fine in most cases, but will yield ugly results
+// when 6+ columns are rendered
+.col-auto{
+ -webkit-box-flex: 1 !important;
+ width: 100% !important;
+}