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%; max-width: 80%;
min-width: 150px; min-width: 150px;
&> i { .cp-kanban-filterTags-reset {
cursor: pointer; cursor: pointer;
margin-left: 10px; margin-left: 10px;
i {
margin-right: 5px;
}
} }
.cp-kanban-filterTags-name { .cp-kanban-filterTags-name {
flex-shrink: 0; flex-shrink: 0;

@ -795,11 +795,11 @@ define([
// Tags filter // Tags filter
var existing = getExistingTags(kanban.options.boards); var existing = getExistingTags(kanban.options.boards);
var list = h('div.cp-kanban-filterTags-list'); 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', [ var tags = h('div.cp-kanban-filterTags', [
h('span.cp-kanban-filterTags-name', Messages.kanban_tags), h('span.cp-kanban-filterTags-name', Messages.kanban_tags),
reset, list,
list reset
]); ]);
var $reset = $(reset); var $reset = $(reset);
var $list = $(list); var $list = $(list);

Loading…
Cancel
Save