summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDharmraj Jhala <dja@odoo.com>2018-09-07 16:12:22 +0530
committerqsm-odoo <qsm@odoo.com>2018-09-10 17:54:43 +0200
commit881346780d460e69fc8c25003f05ce880109ab9c (patch)
tree16fa497312dd50a9e21f679728967d5895f8fbf4 /addons/web/static/src/js/views/basic/basic_controller.js
parent2db1b48bfcce6e246f4ba8610799c08b5eed5627 (diff)
[FIX] base: justify bootstrap grid columns properly using wkhtmltopdf
Since the BS4 is using 'justify-content' property to justify grid columns, the columns are not justified properly in pdf because wkhtmltopdf does not support this property. So we set supported property '-webkit-box-pack' instead of 'justify-content' through the post processing regex that will add limited support for grid columns justification in pdf reports using BS classes only. However, 'justify-content-between' / 'justify-content-around' classes are still not supported due to the limited flex support by wkthmltopdf, and so report designer might have to put some extra efforts for such rare cases. Task: 1880709 Closes #26846
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions