diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index dc085fbe1..190b4feb3 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -290,9 +290,12 @@ max-width: 80%; min-width: 150px; - &> i { + .cp-kanban-filterTags-reset { cursor: pointer; margin-left: 10px; + i { + margin-right: 5px; + } } .cp-kanban-filterTags-name { flex-shrink: 0; diff --git a/www/kanban/inner.js b/www/kanban/inner.js index 1efcec034..095ea22b6 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -795,11 +795,11 @@ define([ // Tags filter var existing = getExistingTags(kanban.options.boards); var list = h('div.cp-kanban-filterTags-list'); - var reset = h('i.cp-kanban-filterTags-reset.fa.fa-times'); + var reset = h('span.cp-kanban-filterTags-reset', [h('i.fa.fa-times'), 'clear filter']); //XXX key var tags = h('div.cp-kanban-filterTags', [ h('span.cp-kanban-filterTags-name', Messages.kanban_tags), - reset, - list + list, + reset ]); var $reset = $(reset); var $list = $(list);