From 9f2bf5482be7b9aa47c0c6c5475a1b6d3a9a2c07 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 11 Dec 2020 08:09:12 +0530 Subject: [PATCH] Fix scrollbars appearing when mousing over button box --- src/pyj/read_book/tts.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/tts.pyj b/src/pyj/read_book/tts.pyj index f451fef50a..d9e224b6c5 100644 --- a/src/pyj/read_book/tts.pyj +++ b/src/pyj/read_book/tts.pyj @@ -208,7 +208,7 @@ class Client: if select.options.selectedIndex?: select.options[select.options.selectedIndex].scrollIntoView() parent_div.appendChild(E.div( - style='margin-top: 1rem; display: flex; justify-content: space-between; align-items: flex-start', + style='margin: 1rem; display: flex; justify-content: space-between; align-items: flex-start', create_button(_('Restore defaults'), action=restore_defaults), create_button(_('Close'), action=close_modal) ))