mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Narrow layout: Fix wasted space to the left of the comments in the Book details panel
This commit is contained in:
parent
eaed84a0a6
commit
7cf94768cb
@ -134,9 +134,8 @@ def render_html(mi, css, vertical, widget, all_fields=False, render_data_func=No
|
||||
if vertical:
|
||||
ans = templ%(table+right_pane)
|
||||
else:
|
||||
ans = templ%(u'<table><tr><td valign="top" '
|
||||
'style="padding-right:2em; width:40%%">%s</td><td valign="top">%s</td></tr></table>'
|
||||
% (table, right_pane))
|
||||
ans = templ%(u'<div style="float: left; margin-right: 1em; margin-bottom: 1em; max-width: 40%">{}</div><div>{}</div>'.format(
|
||||
table, right_pane))
|
||||
return ans
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user