Set column-fill: auto in paged mode

This commit is contained in:
Kovid Goyal 2017-01-14 16:40:22 +05:30
parent 1496748c85
commit f0be3b99a5
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ simple_vendor_prefixes = {
'column-gap': v"['webkit', 'moz']", 'column-gap': v"['webkit', 'moz']",
'column-width': v"['webkit', 'moz']", 'column-width': v"['webkit', 'moz']",
'column-rule': v"['webkit', 'moz']", 'column-rule': v"['webkit', 'moz']",
'column-fill': v"['moz']",
} }
def set_css(elem, **kw): def set_css(elem, **kw):

View File

@ -150,7 +150,7 @@ def layout(is_single_page):
col_and_gap = col_width + gap col_and_gap = col_width + gap
set_css(document.body, column_gap=gap + 'px', column_width=col_width + 'px', column_rule='0px inset blue', 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', margin='0', border_width='0', padding='0',
width=screen_width + 'px', height=screen_height + 'px' width=screen_width + 'px', height=screen_height + 'px'
) )