Fix list of library buttons not wrapping

This commit is contained in:
Kovid Goyal 2017-05-11 10:26:28 +05:30
parent efbd10a908
commit 739f595e3d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: