From f5d3c77a8f5d20ca8548f4d894477c506823e4d3 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Wed, 8 May 2013 01:40:10 +0400
Subject: [PATCH] experimentally align counters to the right

---
 js/FeedTree.js | 2 +-
 tt-rss.css     | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/js/FeedTree.js b/js/FeedTree.js
index 5bca1af86..d80f46062 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 d8ec06256..56d0e0d7f 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;
 }
 
-- 
GitLab