mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Fix Login Page Error, Lists can't move anymore, reverted incomplete Change Lists Width.
Thanks to johnnytolengo, gda140 and xet7 ! Fixes #4592, related #4558
This commit is contained in:
parent
0f0fab28b0
commit
d37adbb046
5 changed files with 306 additions and 312 deletions
|
|
@ -6,10 +6,14 @@
|
|||
background: #dedede;
|
||||
border-left: 1px solid #ccc;
|
||||
padding: 0;
|
||||
float: left;
|
||||
width: 270px; /* Orinal width: 270px. Changes not saved yet: */
|
||||
resize: both; /* - List width and height resizeable */
|
||||
overflow: auto; /* - List width and height resizeable */
|
||||
float: left;
|
||||
min-width: 270px;
|
||||
max-width: 270px;
|
||||
/* Reverted incomplete change list width: */
|
||||
/* https://github.com/wekan/wekan/issues/4558 */
|
||||
/* Orinal width: 270px. Changes not saved yet: */
|
||||
/*resize: both; - List width and height resizeable */
|
||||
/* overflow: auto; - List width and height resizeable */
|
||||
}
|
||||
.list:first-child {
|
||||
margin-left: 5px;
|
||||
|
|
|
|||
|
|
@ -77,11 +77,18 @@ function initSortable(boardComponent, $listsDom) {
|
|||
const listDomElement = ui.item.get(0);
|
||||
const list = Blaze.getData(listDomElement);
|
||||
|
||||
/*
|
||||
Reverted incomplete change list width,
|
||||
removed from below Lists.update:
|
||||
https://github.com/wekan/wekan/issues/4558
|
||||
$set: {
|
||||
width: list._id.width(),
|
||||
height: list._id.height(),
|
||||
*/
|
||||
|
||||
Lists.update(list._id, {
|
||||
$set: {
|
||||
sort: sortIndex.base,
|
||||
width: list._id.width(),
|
||||
height: list._id.height(),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue