From 08a1920876de712edbd9fe438338fccdbd6ac0fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 May 2017 15:34:25 +0530 Subject: [PATCH] Make the narrow screen threshold 450px instead of 400px --- src/pyj/book_list/details_list.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/details_list.pyj b/src/pyj/book_list/details_list.pyj index f05c019935..3651852b63 100644 --- a/src/pyj/book_list/details_list.pyj +++ b/src/pyj/book_list/details_list.pyj @@ -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