Content server: Fix a regression in 3.14 that removed the separator between books in the detailed list view mode. Fixes #1776294 [Version 3.25.0 broke separator lines in web server "detailed list mode"](https://bugs.launchpad.net/calibre/+bug/1776294)

This commit is contained in:
Kovid Goyal 2018-06-12 07:25:21 +05:30
parent 775ea77de5
commit f755746194
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -105,10 +105,10 @@ def create_item(book_id, metadata, create_image, show_book_details, href):
),
comments,
)
ans = E.a(img_div, right, href=href,
ans = E.div(E.a(img_div, right, href=href,
style=f'height:{THUMBNAIL_MAX_HEIGHT}px; display: flex',
class_=ITEM_CLASS,
)
))
ans.addEventListener('click', show_book_details, True)
return ans