mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 07:03:41 +02:00
Use vertical-align: middle for table cells in the book details panel as well
This commit is contained in:
parent
37a7118489
commit
8f19600f59
1 changed files with 3 additions and 1 deletions
|
|
@ -312,4 +312,6 @@ def classname(field):
|
|||
# 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…
Reference in a new issue