From 8439a6b09c682b500191e78c8d0f7144dc6e3825 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 23 Feb 2020 11:01:28 +0530 Subject: [PATCH] ... --- src/pyj/read_book/toc.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/toc.pyj b/src/pyj/read_book/toc.pyj index e1981b20d5..3b99d4445b 100644 --- a/src/pyj/read_book/toc.pyj +++ b/src/pyj/read_book/toc.pyj @@ -159,7 +159,7 @@ def create_toc_panel(book, container, onclick): t = _('Search Table of Contents') search_bar = create_search_bar(do_search.bind(toc_panel_id), 'search-book-toc', button=search_button, placeholder=t) set_css(search_bar, flex_grow='10', margin_right='1em') - container.appendChild(E.div(style='margin: 1ex 1em; display: flex;', search_bar, search_button)) + container.appendChild(E.div(style='margin: 1ex 1em; display: flex; align-items: center', search_bar, search_button)) def current_toc_anchor_map(tam, anchor_funcs):