A slightly better warning when column layout is broken

This commit is contained in:
Kovid Goyal 2017-08-03 18:31:04 +05:30
parent 40361b77c9
commit f4d003761a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -223,7 +223,7 @@ def layout(is_single_page):
set_css(elem, max_width=dw + 'px', min_width=dw + 'px')
data = check_column_widths()
if data:
print('WARNING: column layout broken', data)
print('WARNING: column layout broken, probably because there is some non-reflowable content in the book that is wider than the column width', data)
_in_paged_mode = True
fit_images()