mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
cleanup previous PR
This commit is contained in:
parent
2e47350e53
commit
27abe25a57
@ -47,7 +47,7 @@ from read_book.toc import get_current_toc_nodes, update_visible_toc_nodes
|
||||
from read_book.touch import set_left_margin_handler, set_right_margin_handler
|
||||
from session import get_device_uuid, get_interface_data
|
||||
from utils import (
|
||||
default_context_menu_should_be_allowed, html_escape, is_ios, parse_url_params,
|
||||
default_context_menu_should_be_allowed, html_escape, parse_url_params,
|
||||
safe_set_inner_html, username_key
|
||||
)
|
||||
|
||||
@ -288,7 +288,7 @@ class View:
|
||||
}
|
||||
iframe, self.iframe_wrapper = create_wrapped_iframe(handlers, _('Bootstrapping book reader...'), entry_point, iframe_kw)
|
||||
container.appendChild(
|
||||
E.div(style='max-height: 100dvh; width: 100vw; height: 100dvh; overflow: hidden; display: flex; align-items: stretch', # container for horizontally aligned panels
|
||||
E.div(style='max-height: 100dvh; width: 100dvw; height: 100dvh; overflow: hidden; display: flex; align-items: stretch', # container for horizontally aligned panels
|
||||
oncontextmenu=def (ev):
|
||||
if not default_context_menu_should_be_allowed(ev):
|
||||
ev.preventDefault()
|
||||
|
Loading…
x
Reference in New Issue
Block a user