E-book viewer: Set the column-fill property to auto

Needed for people that build calibre against newer version of
Qt WebKit.
This commit is contained in:
Kovid Goyal 2018-06-16 09:05:08 +05:30
parent 7d38911f68
commit a275acb5c0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -196,6 +196,7 @@ class PagedDisplay
bs.setProperty('-webkit-column-gap', 2*sm + 'px') bs.setProperty('-webkit-column-gap', 2*sm + 'px')
bs.setProperty('-webkit-column-width', col_width + 'px') bs.setProperty('-webkit-column-width', col_width + 'px')
bs.setProperty('-webkit-column-rule', '0px inset blue') bs.setProperty('-webkit-column-rule', '0px inset blue')
bs.setProperty('column-fill', 'auto')
# Without this, webkit bleeds the margin of the first block(s) of body # Without this, webkit bleeds the margin of the first block(s) of body
# above the columns, which causes them to effectively be added to the # above the columns, which causes them to effectively be added to the