From a0049b360a7521469e450a82858b1e6bf4b04c57 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Feb 2019 14:42:01 +0100 Subject: [PATCH] Break long words in kanban items --- www/kanban/app-kanban.less | 1 + www/kanban/jkanban.js | 1 + 2 files changed, 2 insertions(+) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index a7df39d4d..0827e4530 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -53,6 +53,7 @@ padding: 10px 5px 10px 10px; .kanban-item-text { cursor: text; + overflow-wrap: anywhere; } } diff --git a/www/kanban/jkanban.js b/www/kanban/jkanban.js index 6bb51fe63..a44aefed9 100644 --- a/www/kanban/jkanban.js +++ b/www/kanban/jkanban.js @@ -346,6 +346,7 @@ titleBoard = document.createElement('div'); titleBoard.classList.add('kanban-title-board'); titleBoard.innerHTML = board.title; + titleBoard.setAttribute('title', board.title); titleBoard.clickfn = board.boardTitleClick; __onboardTitleClickHandler(titleBoard); headerBoard.appendChild(titleBoard);