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:
Lauri Ojansivu 2022-07-30 10:29:19 -04:00
parent 0f0fab28b0
commit d37adbb046
5 changed files with 306 additions and 312 deletions

View file

@ -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;

View file

@ -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(),
},
});