mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
A slightly better warning when column layout is broken
This commit is contained in:
parent
40361b77c9
commit
f4d003761a
@ -223,7 +223,7 @@ def layout(is_single_page):
|
|||||||
set_css(elem, max_width=dw + 'px', min_width=dw + 'px')
|
set_css(elem, max_width=dw + 'px', min_width=dw + 'px')
|
||||||
data = check_column_widths()
|
data = check_column_widths()
|
||||||
if data:
|
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
|
_in_paged_mode = True
|
||||||
fit_images()
|
fit_images()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user