Kanban: Move “Add Column” to Bottom

This patch moves the button for adding new columns to kanban boards from
the top-right to the bottom-left. The reasoning behind this is that it's
not very often used (often only at the beginning when setting up the
board) but it is constantly taking space away from the columns. This is
annoying especially on mobile devices where it even moves all of the
columns to the left, leaving a larger border on the right.
pull/1/head
Lars Kiesow 5 years ago
parent d9e7fc24fe
commit c5e8f3d50c
No known key found for this signature in database
GPG Key ID: 5DAFE8D9C823CE73

@ -509,13 +509,13 @@
var addBoard = document.createElement('div');
addBoard.id = 'kanban-addboard';
addBoard.setAttribute('class', 'fa fa-plus');
boardContainerOuter.appendChild(addBoard);
self.container = boardContainer;
//add boards
self.addBoards(self.options.boards);
//appends to container
self.element.appendChild(boardContainerOuter);
self.element.appendChild(addBoard);
// send event that board has changed
self.onChange();

Loading…
Cancel
Save