Fix #1879031 [[Enhancement - Viewer] Make the text look more lika a title](https://bugs.launchpad.net/calibre/+bug/1879031)

This commit is contained in:
Kovid Goyal 2020-05-16 12:46:07 +05:30
parent b3b6272e49
commit 500d3ae983
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -22,7 +22,7 @@ def create_open_book(container, book):
container.appendChild(E.div(id=unique_id())) container.appendChild(E.div(id=unique_id()))
c = container.lastChild c = container.lastChild
items = [] items = []
c.appendChild(E.div(style='margin-top: 1rem', _('Recently viewed books'))) c.appendChild(E.h2(style='margin-top: 1rem', _('Recently viewed books')))
c.appendChild(E.div()) c.appendChild(E.div())
for entry in rl: for entry in rl:
if book and book.manifest.pathtoebook is entry.pathtoebook: if book and book.manifest.pathtoebook is entry.pathtoebook: