mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Allow breaking within words for maximum reflowability
This commit is contained in:
parent
5271fa949c
commit
ee9e5dd683
@ -59,7 +59,7 @@ def init_ui():
|
|||||||
install(translations)
|
install(translations)
|
||||||
get_translations(translations)
|
get_translations(translations)
|
||||||
remove_initial_progress_bar()
|
remove_initial_progress_bar()
|
||||||
document.head.appendChild(E.style(get_widget_css()))
|
document.head.appendChild(E.style('body { overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; }\n' + get_widget_css()))
|
||||||
set_css(document.body, background_color=get_color('window-background'), color=get_color('window-foreground'))
|
set_css(document.body, background_color=get_color('window-background'), color=get_color('window-foreground'))
|
||||||
document.body.appendChild(E.div())
|
document.body.appendChild(E.div())
|
||||||
document.body.lastChild.appendChild(E.div(id=book_list_container_id, style='display: none'))
|
document.body.lastChild.appendChild(E.div(id=book_list_container_id, style='display: none'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user