From: Andrew Dolgov Date: Tue, 7 May 2013 21:40:10 +0000 (+0400) Subject: experimentally align counters to the right X-Git-Tag: 1.7.9~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f5d3c77a8f5d20ca8548f4d894477c506823e4d3;p=tt-rss.git experimentally align counters to the right --- diff --git a/js/FeedTree.js b/js/FeedTree.js index 5bca1af8..d80f4606 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -192,7 +192,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, { args.item.unread > 0 ? Element.show(ctr) : Element.hide(ctr); - dojo.place(ctr, tnode.labelNode, 'after'); + dojo.place(ctr, tnode.rowNode, 'first'); tnode.counterNode = ctr; //tnode.labelNode.innerHTML = args.label; diff --git a/tt-rss.css b/tt-rss.css index d8ec0625..56d0e0d7 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1050,7 +1050,7 @@ div.hl.active { overflow-x : hidden; } -#feedTree span.counterNode { +#feedTree .counterNode { font-weight : bold; display : inline-block; font-size : 9px; @@ -1061,5 +1061,9 @@ div.hl.active { border-radius : 4px; padding : 0px 4px 0px 4px; vertical-align : middle; + float : right; + margin-right : 5px; + position : relative; + top : 2px; }