mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
775ea77de5
commit
f755746194
@ -105,10 +105,10 @@ def create_item(book_id, metadata, create_image, show_book_details, href):
|
|||||||
),
|
),
|
||||||
comments,
|
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',
|
style=f'height:{THUMBNAIL_MAX_HEIGHT}px; display: flex',
|
||||||
class_=ITEM_CLASS,
|
class_=ITEM_CLASS,
|
||||||
)
|
))
|
||||||
ans.addEventListener('click', show_book_details, True)
|
ans.addEventListener('click', show_book_details, True)
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user