mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Properly fix horizontal rendering on Chrome and Firefox
This reverts commit74cf9e2573
"- Fix Firefox left-rigth scrollbar." This reverts commit9dd8216dfb
. "- Fix cards below swimlane title in Firefox by making [previous fix](f7c6b7fce2
)" And this partially reverts commitdd88eb4cc
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
This commit is contained in:
parent
4d37e1d640
commit
7cc185ac57
2 changed files with 15 additions and 26 deletions
|
@ -1,22 +1,22 @@
|
||||||
template(name="swimlane")
|
template(name="swimlane")
|
||||||
.swimlane.js-lists.js-swimlane
|
.swimlane
|
||||||
+swimlaneHeader
|
+swimlaneHeader
|
||||||
.swimlane.list-group.js-lists
|
.swimlane.js-lists.js-swimlane
|
||||||
if isMiniScreen
|
if isMiniScreen
|
||||||
if currentList
|
if currentList
|
||||||
+list(currentList)
|
+list(currentList)
|
||||||
else
|
|
||||||
each currentBoard.lists
|
|
||||||
+miniList(this)
|
|
||||||
if currentUser.isBoardMember
|
|
||||||
+addListForm
|
|
||||||
else
|
else
|
||||||
each currentBoard.lists
|
each currentBoard.lists
|
||||||
+list(this)
|
+miniList(this)
|
||||||
if currentCardIsInThisList _id ../_id
|
|
||||||
+cardDetails(currentCard)
|
|
||||||
if currentUser.isBoardMember
|
if currentUser.isBoardMember
|
||||||
+addListForm
|
+addListForm
|
||||||
|
else
|
||||||
|
each currentBoard.lists
|
||||||
|
+list(this)
|
||||||
|
if currentCardIsInThisList _id ../_id
|
||||||
|
+cardDetails(currentCard)
|
||||||
|
if currentUser.isBoardMember
|
||||||
|
+addListForm
|
||||||
|
|
||||||
template(name="listsGroup")
|
template(name="listsGroup")
|
||||||
.swimlane.list-group.js-lists
|
.swimlane.list-group.js-lists
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// transparent, because that won't work during a swimlane drag.
|
// transparent, because that won't work during a swimlane drag.
|
||||||
background: darken(white, 13%)
|
background: darken(white, 13%)
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: column
|
flex-direction: row
|
||||||
overflow: 0;
|
overflow: 0;
|
||||||
max-height: 100%
|
max-height: 100%
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
.swimlane-header-wrap
|
.swimlane-header-wrap
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex: 0 0 24px;
|
flex: 1 0 100%;
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
|
|
||||||
.swimlane-header
|
.swimlane-header
|
||||||
|
@ -51,19 +51,8 @@
|
||||||
margin-right: 10px
|
margin-right: 10px
|
||||||
|
|
||||||
.list-group
|
.list-group
|
||||||
flex-direction: row
|
|
||||||
height: 100%
|
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...)
|
swimlane-color(background, color...)
|
||||||
background: background !important
|
background: background !important
|
||||||
if color
|
if color
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue