diff --git a/ts/components/Badge.svelte b/ts/components/Badge.svelte index ec9bf5ce6..6e311645b 100644 --- a/ts/components/Badge.svelte +++ b/ts/components/Badge.svelte @@ -27,6 +27,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html class:dropdown-toggle={dropdownProps.dropdown} {...dropdownProps} on:click + on:mouseenter + on:mouseleave > diff --git a/ts/editor/AddTagBadge.svelte b/ts/editor/AddTagBadge.svelte new file mode 100644 index 000000000..94830c14b --- /dev/null +++ b/ts/editor/AddTagBadge.svelte @@ -0,0 +1,28 @@ + + + + (theTagIcon = addTagIcon)} + on:mouseleave={() => (theTagIcon = tagIcon)}>{@html theTagIcon} + + diff --git a/ts/editor/BUILD.bazel b/ts/editor/BUILD.bazel index 158d2b1ce..c2f4705fb 100644 --- a/ts/editor/BUILD.bazel +++ b/ts/editor/BUILD.bazel @@ -132,6 +132,7 @@ copy_mdi_icons( # tag editor "tag-outline.svg", + "tag.svg", "tag-plus.svg", ], visibility = ["//visibility:public"], diff --git a/ts/editor/TagEditor.svelte b/ts/editor/TagEditor.svelte index b2a1427f2..30497da86 100644 --- a/ts/editor/TagEditor.svelte +++ b/ts/editor/TagEditor.svelte @@ -4,10 +4,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->