فهرست منبع

UI: list headers: show the card count smaller

The card count was at the same level than the title, which made
reading the list title harder. Use the quiet and small class
to put it in the following line and not make it jump out of the screen
Benjamin Tissoires 7 سال پیش
والد
کامیت
05e0fb8fbe
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      client/components/lists/listHeader.jade

+ 2 - 3
client/components/lists/listHeader.jade

@@ -15,9 +15,8 @@ template(name="listHeader")
          |/#{wipLimit.value})
          |/#{wipLimit.value})
 
 
         if showCardsCountForList cards.count
         if showCardsCountForList cards.count
-          = cards.count
-          span
-            |  {{_ 'cards-count'}}
+          | 
+          p.quiet.small {{cards.count}} {{_ 'cards-count'}}
       if isMiniScreen
       if isMiniScreen
         if currentList
         if currentList
           if isWatching
           if isWatching