mirror of
https://github.com/wekan/wekan.git
synced 2026-02-06 16:41:48 +01:00
This reverts commit74cf9e2573"- Fix Firefox left-rigth scrollbar." This reverts commit9dd8216dfb. "- Fix cards below swimlane title in Firefox by making [previous fix](https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb)" And this partially reverts commitdd88eb4ccThe 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
51 lines
1.4 KiB
Text
51 lines
1.4 KiB
Text
template(name="swimlane")
|
|
.swimlane
|
|
+swimlaneHeader
|
|
.swimlane.js-lists.js-swimlane
|
|
if isMiniScreen
|
|
if currentList
|
|
+list(currentList)
|
|
else
|
|
each currentBoard.lists
|
|
+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
|
|
if isMiniScreen
|
|
if currentList
|
|
+list(currentList)
|
|
else
|
|
each currentBoard.lists
|
|
+miniList(this)
|
|
if currentUser.isBoardMember
|
|
+addListForm
|
|
else
|
|
each currentBoard.lists
|
|
+list(this)
|
|
if currentCardIsInThisList _id null
|
|
+cardDetails(currentCard)
|
|
if currentUser.isBoardMember
|
|
+addListForm
|
|
|
|
template(name="addListForm")
|
|
.list.list-composer.js-list-composer
|
|
.list-header-add
|
|
+inlinedForm(autoclose=false)
|
|
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
|
|
autocomplete="off" autofocus)
|
|
.edit-controls.clearfix
|
|
button.primary.confirm(type="submit") {{_ 'save'}}
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
else
|
|
a.open-list-composer.js-open-inlined-form
|
|
i.fa.fa-plus
|
|
| {{_ 'add-list'}}
|