Merge remote-tracking branch 'origin/update-icons' into update-icons

This commit is contained in:
daria 2025-09-02 10:06:09 +03:00
commit 453dca9309
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
3 changed files with 7 additions and 1 deletions

View File

@ -101,6 +101,11 @@
&:hover {
color: contrast(@cp_token-fg, darken(@cp_token-fg, 10%), lighten(@cp_token-fg, 10%));
}
svg {
width: 1rem;
height: 1rem;
margin: 0;
}
}
}
.token-input {

View File

@ -66,6 +66,7 @@ define([
"touch-mode": "hand",
"kanban-add-top": "cp-kanban-add-top",
"kanban-add-bottom": "cp-kanban-add-bottom",
"delete-token": "x",
// Doc
"doc": "cp-file-oo-document",
// Sheet

View File

@ -340,7 +340,7 @@ define([
if (!$tokens.length) {
$container.prepend(h('span.tokenfield-empty', Messages.kanban_noTags));
}
$tokens.find('.close').attr('tabindex', 0).on('keydown', e => {
$tokens.find('.close').attr('tabindex', 0).empty().append(Icons.get('delete-token')).on('keydown', e => {
e.stopPropagation();
});
$tokens.find('.token-label').attr('tabindex', 0).on('keydown', function (e) {