From f38caa0af57c92f619ab5ed5d07ba3fb4a31f7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Thu, 12 Mar 2020 14:43:10 +0000 Subject: [PATCH] move tag filter clear and add text --- www/kanban/app-kanban.less | 5 ++++- www/kanban/inner.js | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) 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);