From 7cf94768cbc8069a70e73bc6448cb214ec9e9d6b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 15 Aug 2017 18:27:48 +0530 Subject: [PATCH] Narrow layout: Fix wasted space to the left of the comments in the Book details panel --- src/calibre/gui2/book_details.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index 6e18b7a68d..4dcd694eef 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -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'
%s%s
' - % (table, right_pane)) + ans = templ%(u'
{}
{}
'.format( + table, right_pane)) return ans