mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Set column-fill: auto in paged mode
This commit is contained in:
parent
1496748c85
commit
f0be3b99a5
@ -22,6 +22,7 @@ simple_vendor_prefixes = {
|
||||
'column-gap': v"['webkit', 'moz']",
|
||||
'column-width': v"['webkit', 'moz']",
|
||||
'column-rule': v"['webkit', 'moz']",
|
||||
'column-fill': v"['moz']",
|
||||
}
|
||||
|
||||
def set_css(elem, **kw):
|
||||
|
@ -150,7 +150,7 @@ def layout(is_single_page):
|
||||
col_and_gap = col_width + gap
|
||||
|
||||
set_css(document.body, column_gap=gap + 'px', column_width=col_width + 'px', column_rule='0px inset blue',
|
||||
min_width='0', max_width='none', min_height='0', max_height='none',
|
||||
min_width='0', max_width='none', min_height='0', max_height='100vh', column_fill='auto',
|
||||
margin='0', border_width='0', padding='0',
|
||||
width=screen_width + 'px', height=screen_height + 'px'
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user