Переглянути джерело

Plus and arrow icon as "one icon", no space between them

Martin Filser 3 роки тому
батько
коміт
9cf8af0416

+ 4 - 10
client/components/lists/list.styl

@@ -104,22 +104,16 @@
 
 .list-header .list-header-plus-top, .list-header .list-header-plus-bottom, .js-open-list-menu, .list-header-menu a
     color #4d4d4d
-    padding-left 4px
+    padding-left 3px
 
-.list-header-plus-bottom
+.list-header-plus-bottom, .list-header-plus-top
   border: 1px solid #a6a6a6
 
   a
     padding: 0px
 
-.list-header-plus-top
-  border: 1px solid #4d4d4d
-
-  a
-    padding: 0px
-
-  .fa.fa-arrow-down
-    padding-right: 1px
+  .fa
+    padding-right: 2px
 
 .list-body
   flex: 1 1 auto

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

@@ -46,11 +46,9 @@ template(name="listHeader")
             //if isBoardAdmin
             //  a.fa.js-list-star.list-header-plus-top(class="fa-star{{#unless starred}}-o{{/unless}}")
             if canSeeAddCard
-              a.js-add-card.list-header-plus-bottom(title="{{_ 'add-card-to-bottom-of-list'}}")
-                a.fa.fa-plus
+              a.js-add-card.fa.fa-plus.list-header-plus-bottom(title="{{_ 'add-card-to-bottom-of-list'}}")
                 a.fa.fa-arrow-down
-              a.js-add-card.list-header-plus-top(title="{{_ 'add-card-to-top-of-list'}}")
-                a.fa.fa-plus
+              a.js-add-card.fa.fa-plus.list-header-plus-top(title="{{_ 'add-card-to-top-of-list'}}")
                 a.fa.fa-arrow-up
             a.fa.fa-navicon.js-open-list-menu(title="{{_ 'listActionPopup-title'}}")
           if currentUser.isBoardAdmin