Fix #6649 (Ebook viewer final page formatting breaks due to long URL)

This commit is contained in:
Kovid Goyal 2010-08-29 08:30:00 -06:00
parent 0dc1e4cc33
commit 14380349ec

View File

@ -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())