From 739f595e3dae2b17ad7501ce0698bfb656e942b7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 11 May 2017 10:26:28 +0530 Subject: [PATCH] Fix list of library buttons not wrapping --- src/pyj/book_list/home.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/home.pyj b/src/pyj/book_list/home.pyj index ebc66828f2..b1c2eb1784 100644 --- a/src/pyj/book_list/home.pyj +++ b/src/pyj/book_list/home.pyj @@ -150,7 +150,7 @@ def init(container_id): # Choose library container.appendChild(E.h2(_('Choose the calibre library to browse…'))) - container.appendChild(E.div(style='display: flex')) + container.appendChild(E.div(style='display: flex; flex-wrap: wrap')) cl = container.lastChild lids = sorted(interface_data.library_map, key=def(x): return interface_data.library_map[x];) for library_id in lids: