mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Make the narrow screen threshold 450px instead of 400px
This commit is contained in:
parent
64a517b72d
commit
08a1920876
@ -34,7 +34,7 @@ def details_list_css():
|
|||||||
extra_data = top + ' > div:last-child'
|
extra_data = top + ' > div:last-child'
|
||||||
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: 400px) {{ {narrow_style} }}'
|
ans += f'@media (max-width: 450px) {{ {narrow_style} }}'
|
||||||
print(ans)
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user