diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-01-28 17:27:50 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-01-28 17:27:50 +0200 |
commit | c360afb341a892a2e2516fdcb681f077efa86b0a (patch) | |
tree | 171e84a6a9ba1864b68139e7f7b4cd33437299d1 /client/components | |
parent | 2dba189830427e79046d7abbd151b2dacdb97489 (diff) | |
parent | 04279342a4a57d9bc57eb6bca0d5a3719cd92c48 (diff) | |
download | wekan-c360afb341a892a2e2516fdcb681f077efa86b0a.tar.gz wekan-c360afb341a892a2e2516fdcb681f077efa86b0a.tar.bz2 wekan-c360afb341a892a2e2516fdcb681f077efa86b0a.zip |
Merge branch 'edge' into meteor-1.8
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/swimlanes/swimlanes.jade | 26 | ||||
-rw-r--r-- | client/components/swimlanes/swimlanes.styl | 17 |
2 files changed, 16 insertions, 27 deletions
diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade index ad61466e..34177a02 100644 --- a/client/components/swimlanes/swimlanes.jade +++ b/client/components/swimlanes/swimlanes.jade @@ -1,22 +1,22 @@ template(name="swimlane") - .swimlane.js-lists.js-swimlane + .swimlane +swimlaneHeader - .swimlane.list-group.js-lists - if isMiniScreen - if currentList - +list(currentList) - else - each currentBoard.lists - +miniList(this) - if currentUser.isBoardMember - +addListForm + .swimlane.js-lists.js-swimlane + if isMiniScreen + if currentList + +list(currentList) else each currentBoard.lists - +list(this) - if currentCardIsInThisList _id ../_id - +cardDetails(currentCard) + +miniList(this) if currentUser.isBoardMember +addListForm + else + each currentBoard.lists + +list(this) + if currentCardIsInThisList _id ../_id + +cardDetails(currentCard) + if currentUser.isBoardMember + +addListForm template(name="listsGroup") .swimlane.list-group.js-lists diff --git a/client/components/swimlanes/swimlanes.styl b/client/components/swimlanes/swimlanes.styl index 9abf2820..77a7a413 100644 --- a/client/components/swimlanes/swimlanes.styl +++ b/client/components/swimlanes/swimlanes.styl @@ -5,9 +5,9 @@ // transparent, because that won't work during a swimlane drag. background: darken(white, 13%) display: flex - flex-direction: column + flex-direction: row overflow: 0; - max-height: 100% + max-height: calc(100% - 26px) &.placeholder background-color: rgba(0, 0, 0, .2) @@ -27,7 +27,7 @@ .swimlane-header-wrap display: flex; flex-direction: row; - flex: 0 0 24px; + flex: 1 0 100%; background-color: #ccc; .swimlane-header @@ -51,19 +51,8 @@ margin-right: 10px .list-group - flex-direction: row height: 100% -// Firefox fix for cards behind swimlane to overflow-y -// https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb -// and enable Firefox left-right scroll https://github.com/wekan/wekan/issues/2137 -@-moz-document url-prefix() { - .list-group { - overflow-y: hidden; - overflow: -moz-scrollbars-vertical; - } -} - swimlane-color(background, color...) background: background !important if color |