diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 30282e3b2b..f1c3b414b1 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -785,9 +785,6 @@ class BasicNewsRecipe(Recipe): table.toc { font-size:large; } - td.article_count { - text-align:right; - } ''' templ = templates.TouchscreenFeedTemplate() diff --git a/src/calibre/web/feeds/templates.py b/src/calibre/web/feeds/templates.py index 60fd830e67..00b7fec24e 100644 --- a/src/calibre/web/feeds/templates.py +++ b/src/calibre/web/feeds/templates.py @@ -186,7 +186,7 @@ class TouchscreenIndexTemplate(Template): if feed: tr = TR() tr.append(TD( CLASS('toc_item'), A(feed.title, href='feed_%d/index.html'%i))) - tr.append(TD( CLASS('article_count'),'%3.3s' % len(feed.articles))) + tr.append(TD( '%s' % len(feed.articles), style="text-align:right")) toc.append(tr) div = DIV(