Break long words in kanban items

pull/1/head
yflory 6 years ago
parent f381ca8cab
commit a0049b360a

@ -53,6 +53,7 @@
padding: 10px 5px 10px 10px; padding: 10px 5px 10px 10px;
.kanban-item-text { .kanban-item-text {
cursor: text; cursor: text;
overflow-wrap: anywhere;
} }
} }

@ -346,6 +346,7 @@
titleBoard = document.createElement('div'); titleBoard = document.createElement('div');
titleBoard.classList.add('kanban-title-board'); titleBoard.classList.add('kanban-title-board');
titleBoard.innerHTML = board.title; titleBoard.innerHTML = board.title;
titleBoard.setAttribute('title', board.title);
titleBoard.clickfn = board.boardTitleClick; titleBoard.clickfn = board.boardTitleClick;
__onboardTitleClickHandler(titleBoard); __onboardTitleClickHandler(titleBoard);
headerBoard.appendChild(titleBoard); headerBoard.appendChild(titleBoard);

Loading…
Cancel
Save