From 0605ec0054d01f3440368eda4d16d5c288515642 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Oct 2019 22:43:20 +0530 Subject: [PATCH] Viewer: restrict max size of margin page turn indicators to 25px rather than 75px --- src/pyj/read_book/view.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/view.pyj b/src/pyj/read_book/view.pyj index 53e6b13e36..65eee9509f 100644 --- a/src/pyj/read_book/view.pyj +++ b/src/pyj/read_book/view.pyj @@ -447,7 +447,7 @@ class View: # margin goes off the screen. m.nextSibling.style.maxWidth = 'calc(100vw - {}px)'.format(margin_left + margin_right) set_css(m, width=val + 'px') - val = min(val, 75) + val = min(val, 25) m.firstChild.style.width = val + 'px' m.firstChild.style.height = val + 'px' side_margin('left', margin_left), side_margin('right', margin_right)