Commit 01c5affe authored by Alexandre Friquet's avatar Alexandre Friquet
Browse files

Forces wkhtmltopdf to use desktop design.

parent 887b13c1
......@@ -24,6 +24,7 @@ PDFKit.configure do |config|
# config.wkhtmltopdf = '/path/to/bin/wkhtmltopdf'
config.default_options = {
print_media_type: true,
viewport_size: '800x600',
footer_center: "#{ENV['APP_NAME']} - Tous droits reserves",
orientation: 'portrait',
page_size: 'A4',
......@@ -33,4 +34,4 @@ PDFKit.configure do |config|
quiet: true,
encoding: 'UTF-8'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment