From 14380349ec89280dbeb795dc3d3a082cc18e3d3b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Aug 2010 08:30:00 -0600 Subject: [PATCH] Fix #6649 (Ebook viewer final page formatting breaks due to long URL) --- src/calibre/web/feeds/templates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py index eb31b541e8..e23b8dda1b 100644 --- a/src/calibre/web/feeds/templates.py +++ b/src/calibre/web/feeds/templates.py @@ -195,7 +195,8 @@ class NavBarTemplate(Template): if bottom: navbar.append(HR()) text = 'This article was downloaded by ' - p = PT(text, STRONG(__appname__), A(url, href=url), style='text-align:left') + p = PT(text, STRONG(__appname__), A(url, href=url), + style='text-align:left; max-width: 100%; overflow: hidden;') p[0].tail = ' from ' navbar.append(p) navbar.append(BR())