mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use vertical-align: middle for table cells in the book details panel as well
This commit is contained in:
parent
37a7118489
commit
8f19600f59
@ -312,4 +312,6 @@ def mi_to_html(mi, field_list=None, default_author_link=None, use_roman_numbers=
|
||||
# print '\n'.join(ans)
|
||||
direction = 'rtl' if rtl else 'ltr'
|
||||
margin = 'left' if rtl else 'right'
|
||||
return u'<table class="fields" style="direction: %s; margin-%s:auto">%s</table>'%(direction, margin, u'\n'.join(ans)), comment_fields
|
||||
return u'<style>table.fields td { vertical-align:middle}</style>' + \
|
||||
u'<table class="fields" style="direction: %s; margin-%s:auto">%s</table>'%(
|
||||
direction, margin, u'\n'.join(ans)), comment_fields
|
||||
|
Loading…
x
Reference in New Issue
Block a user