Using unicode-bidi instead of lrm

* It is less hackish than lrm but please refactor bidi-embed if needed
* lrm was making an extra space for all, so this is fixup for it
This commit is contained in:
Ebrahim Byagowi
2013-07-11 09:38:34 +04:30
parent 93ac963351
commit 315d5705cc
3 changed files with 8 additions and 6 deletions

View File

@@ -11,10 +11,9 @@
<i ng-class="{'icon-star' : node.id == 'starred', 'icon-inbox': node.id == 'all'}" ng-show="!showChildren"></i>
</span>
<span ng-class="{selected: (node.id == selectedId && selectedType == 'category')}">
<span ng-class="{unread: unreadCount({category:node})}">
<span ng-class="{unread: unreadCount({category:node})}" class="bidi-embed">
{{categoryLabel(node)}}
</span>
&lrm;
<span class="unread-counter">
{{categoryCountLabel(node)}}
</span>
@@ -38,10 +37,9 @@
href="{{feed.feedLink}}" target="_blank"
ng-class="{error: feed.message && feed.errorCount > 10, selected: (feed.id == selectedId && selectedType == 'feed') }">
<favicon url="feed.iconUrl" />
<span ng-class="{unread: feed.unread}">
<span ng-class="{unread: feed.unread}" class="bidi-embed">
{{feed.name}}
</span>
&lrm;
</span>
<span class="unread-counter">
{{feedCountLabel(feed)}}
</span>