move tag filter clear and add text

pull/1/head
David Benqué 5 years ago
parent 291a84723f
commit f38caa0af5

@ -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;

@ -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);

Loading…
Cancel
Save