mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
PDF Output: Fix footer sometimes appearing as header when no header is specified
This commit is contained in:
parent
77a0a77723
commit
990dce338d
@ -980,7 +980,7 @@ def add_header_footer(manager, opts, pdf_doc, container, page_number_display_map
|
||||
'page-break-after': 'always',
|
||||
'display': 'flex',
|
||||
'flex-direction': 'column',
|
||||
'height': '100%',
|
||||
'height': '100vh',
|
||||
'justify-content': justify,
|
||||
'margin-left': '{}pt'.format(margins.left),
|
||||
'margin-right': '{}pt'.format(margins.right),
|
||||
|
Loading…
x
Reference in New Issue
Block a user