Make the narrow screen threshold 450px instead of 400px

This commit is contained in:
Kovid Goyal 2017-05-20 15:34:25 +05:30
parent 64a517b72d
commit 08a1920876
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -34,7 +34,7 @@ def details_list_css():
extra_data = top + ' > div:last-child'
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: 400px) {{ {narrow_style} }}'
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