mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
16283e0613
commit
2a1c9b46ea
@ -35,7 +35,6 @@ def details_list_css():
|
|||||||
ans += f'{extra_data} {{ text-align: right }}'
|
ans += f'{extra_data} {{ text-align: right }}'
|
||||||
narrow_style = f'{s} iframe {{ display: none }} {top} {{ flex-direction: column }} {extra_data} {{ text-align: left; margin-top: 1ex }}'
|
narrow_style = f'{s} iframe {{ display: none }} {top} {{ flex-direction: column }} {extra_data} {{ text-align: left; margin-top: 1ex }}'
|
||||||
ans += f'@media (max-width: 450px) {{ {narrow_style} }}'
|
ans += f'@media (max-width: 450px) {{ {narrow_style} }}'
|
||||||
print(ans)
|
|
||||||
s += ' iframe'
|
s += ' iframe'
|
||||||
# To enable clicking anywhere on the item to load book details to work, we
|
# To enable clicking anywhere on the item to load book details to work, we
|
||||||
# have to set pointer-events: none
|
# have to set pointer-events: none
|
||||||
|
@ -413,7 +413,7 @@ def create_mode_panel(container_id):
|
|||||||
|
|
||||||
def create_more_actions_panel(container_id):
|
def create_more_actions_panel(container_id):
|
||||||
container = document.getElementById(container_id)
|
container = document.getElementById(container_id)
|
||||||
create_top_bar(container, title=_('Sort books by…'), action=back, icon='close')
|
create_top_bar(container, title=_('More actions…'), action=back, icon='close')
|
||||||
items = [
|
items = [
|
||||||
create_item(_('Book list mode'), subtitle=_('Change how the list of books is displayed'), action=def():
|
create_item(_('Book list mode'), subtitle=_('Change how the list of books is displayed'), action=def():
|
||||||
show_panel('book_list^choose_mode', replace=True)
|
show_panel('book_list^choose_mode', replace=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user