- added file request into the spotlight

- after enter stop editing item name
This commit is contained in:
Čarodej
2022-02-25 08:35:21 +01:00
parent 45dcdcce16
commit 293eb679fa
11 changed files with 179 additions and 136 deletions

View File

@@ -74,17 +74,18 @@
<!--Item Info-->
<div class="text-center">
<!--Item Title-->
<b
class="inline-block w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm leading-3 tracking-tight md:px-6"
<span
class="inline-block w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold leading-3 tracking-tight md:px-6"
:class="{ 'hover:underline': canEditName }"
ref="name"
@input="renameItem"
@keydown.delete.stop
@click.stop
@keydown.enter="$refs.name.blur()"
:contenteditable="canEditName"
>
{{ itemName }}
</b>
</span>
<!--Item sub line-->
<div class="flex items-center justify-center">