ソースを参照

List header menu in the right of "cards count"

Martin Filser 3 年 前
コミット
f660dcaa86

+ 3 - 6
client/components/lists/list.styl

@@ -85,11 +85,7 @@
     color: #a6a6a6
 
   .list-header-menu
-    position: absolute
-    padding: 0px 19px
-    margin-top: 1px
-    top: 0px
-    right: 3px
+    float: right
 
   .list-header-plus-top
     color: #a6a6a6
@@ -100,7 +96,8 @@
 
   .cardCount
     color: #8c8c8c
-    font-size: 0.8em
+    font-size: 12px
+    font-weight: bold
 
 .list-header .list-header-plus-top, .js-open-list-menu, .list-header-menu a
     color #4d4d4d

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

@@ -18,9 +18,9 @@ template(name="listHeader")
          span(class="{{#if exceededWipLimit}}highlight{{/if}}") {{cards.count}}
          |/#{wipLimit.value})
 
-        if showCardsCountForList cards.count
-          | 
-          span(class="cardCount") {{cardsCount}} {{cardsCountForListIsOne cards.count}}
+      if showCardsCountForList cards.count
+        span.cardCount {{cardsCount}} {{cardsCountForListIsOne cards.count}}
+
       if isMiniScreen
         if currentList
           if isWatching