This commit is contained in:
Kovid Goyal 2017-05-21 11:01:04 +05:30
parent 16283e0613
commit 2a1c9b46ea
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,6 @@ def details_list_css():
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 }}'
ans += f'@media (max-width: 450px) {{ {narrow_style} }}'
print(ans)
s += ' iframe'
# To enable clicking anywhere on the item to load book details to work, we
# have to set pointer-events: none

View File

@ -413,7 +413,7 @@ def create_mode_panel(container_id):
def create_more_actions_panel(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 = [
create_item(_('Book list mode'), subtitle=_('Change how the list of books is displayed'), action=def():
show_panel('book_list^choose_mode', replace=True)