refac
This commit is contained in:
1 parent
ecf3fa2feb
commit
43c68468f7
2 files changed
+2
No files matched your search
@@ -35,6 +35,7 @@
|
|||||||
list="tagOptions"
|
list="tagOptions"
|
||||||
on:keydown={(event) => {
|
on:keydown={(event) => {
|
||||||
if (event.key === 'Enter') {
|
if (event.key === 'Enter') {
|
||||||
|
event.preventDefault();
|
||||||
addTagHandler();
|
addTagHandler();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
{#if tag}
|
{#if tag}
|
||||||
<Tooltip content={tag.name}>
|
<Tooltip content={tag.name}>
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
aria-label={$i18n.t('Remove this tag from list')}
|
aria-label={$i18n.t('Remove this tag from list')}
|
||||||
class="relative group/tags px-1.5 py-[0.5px] gap-0.5 flex justify-between h-fit max-h-fit w-fit items-center rounded-lg bg-gray-500/20 text-gray-700 dark:text-gray-200 transition cursor-pointer"
|
class="relative group/tags px-1.5 py-[0.5px] gap-0.5 flex justify-between h-fit max-h-fit w-fit items-center rounded-lg bg-gray-500/20 text-gray-700 dark:text-gray-200 transition cursor-pointer"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
|||||||
Reference in new issue
Block a user