Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/controllers/plan_exports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def show_docx
def show_pdf
render pdf: file_name,
margin: @formatting[:margin],
# wkhtmltopdf behavior is based on the OS so force the zoom level
# See 'Gotchas' section of https://github.com/mileszs/wicked_pdf
zoom: 0.78125,
footer: {
center: format(_('Created using %{application_name}. Last modified %{date}'),
application_name: ApplicationService.application_name,
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/export/_plan_styling.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
body {
font-family: @font-face;
font-size: <%= font_size %>;
margin: <%= margin %>;
}
h1 {
font-size: 1.5rem;
Expand Down