summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.jade
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-28 12:00:55 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-28 15:33:47 +0100
commit7cc185ac57c77be85178f92b1d01d46e20218948 (patch)
tree3162f535c596952fbe411a2959435ab09ce9cf49 /client/components/swimlanes/swimlanes.jade
parent4d37e1d6406491ec74594c0c7094ccdd554fc55e (diff)
downloadwekan-7cc185ac57c77be85178f92b1d01d46e20218948.tar.gz
wekan-7cc185ac57c77be85178f92b1d01d46e20218948.tar.bz2
wekan-7cc185ac57c77be85178f92b1d01d46e20218948.zip
Properly fix horizontal rendering on Chrome and Firefox
This reverts commit 74cf9e2573 "- Fix Firefox left-rigth scrollbar." This reverts commit 9dd8216dfb. "- Fix cards below swimlane title in Firefox by making [previous fix](https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb)" And this partially reverts commit dd88eb4cc The root of the issue was that I was adding a new div and nesting the list of lists in this new list. This resulted in some weird behavior that Firefox could not handled properly Revert to a code colser to v2.02, by just having the swimlane header in a separate line, and keep only one flex element. fixes #2137
Diffstat (limited to 'client/components/swimlanes/swimlanes.jade')
-rw-r--r--client/components/swimlanes/swimlanes.jade26
1 files changed, 13 insertions, 13 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