mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge remote-tracking branch 'origin/update-icons' into update-icons
This commit is contained in:
commit
453dca9309
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user