Thanks to NLBlackEagle and xet7 ! Related #4558
@@ -7,8 +7,9 @@
border-left: 1px solid #ccc;
padding: 0;
float: left;
- min-width: 270px;
- max-width: 270px;
+ width: 270px; /* 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;
@@ -80,6 +80,8 @@ function initSortable(boardComponent, $listsDom) {
Lists.update(list._id, {
$set: {
sort: sortIndex.base,
+ width: list._id.width(),
+ height: list._id.height(),
},
});
@@ -79,6 +79,21 @@ Lists.attachSchema(
// XXX We should probably provide a default
optional: true,
+ width: {
+ /**
+ * list width, default 270px
+ */
+ type: String,
+ defaultValue: '270px',
+ optional: true,
+ },
+ height: {
+ * list height
updatedAt: {
/**
* last update of the list