From c5e8f3d50cc3affad34bd4a86aaf098880c7b93a Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Wed, 9 Oct 2019 21:50:29 +0200 Subject: [PATCH] =?UTF-8?q?Kanban:=20Move=20=E2=80=9CAdd=20Column=E2=80=9D?= =?UTF-8?q?=20to=20Bottom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- www/kanban/jkanban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/kanban/jkanban.js b/www/kanban/jkanban.js index aa3f6c922..b051e5b24 100644 --- a/www/kanban/jkanban.js +++ b/www/kanban/jkanban.js @@ -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();