Selaa lähdekoodia

Changed Add List to be at left. Before it was at right.

Thanks to xet7 !
Lauri Ojansivu 2 vuotta sitten
vanhempi
sitoutus
467835192f

+ 1 - 0
client/components/lists/list.css

@@ -16,6 +16,7 @@
   /* overflow: auto; - List width and height resizeable */
 }
 .list:first-child {
+  min-width: 20px;
   margin-left: 5px;
   border-left: none;
 }

+ 5 - 5
client/components/swimlanes/swimlanes.jade

@@ -7,20 +7,20 @@ template(name="swimlane")
         if currentListIsInThisSwimlane _id
           +list(currentList)
         unless currentList
-          each lists
-            +miniList(this)
           if currentUser.isBoardMember
             unless currentUser.isCommentOnly
               +addListForm
+          each lists
+            +miniList(this)
       else
+        if currentUser.isBoardMember
+          unless currentUser.isCommentOnly
+            +addListForm
         each lists
           if visible this
             +list(this)
           if currentCardIsInThisList _id ../_id
             +cardDetails(currentCard)
-        if currentUser.isBoardMember
-          unless currentUser.isCommentOnly
-            +addListForm
 
 template(name="listsGroup")
   .swimlane.list-group.js-lists