This commit is contained in:
Timothy Jaeryang Baek
2026-07-17 06:06:23 -04:00
parent cda5bdb9d4
commit 1bf05ebc7d
4 changed files with 52 additions and 39 deletions
@@ -129,7 +129,7 @@
<input
bind:this={editInput}
bind:value={editName}
class="text-sm w-full bg-transparent border-none outline-hidden"
class="text-xs w-full bg-transparent border-none outline-hidden"
on:keydown={(e) => {
if (e.key === 'Enter') submitRename();
if (e.key === 'Escape') cancelRename();
@@ -143,7 +143,7 @@
autofocus
/>
{:else}
<div class="line-clamp-1 text-sm">
<div class="line-clamp-1 text-xs">
{directory.name}
</div>
{/if}
@@ -175,7 +175,7 @@
<DropdownMenu className="min-w-[140px] z-[9999999]">
<button
type="button"
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[13px] transition hover:text-gray-900 dark:hover:text-gray-100"
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-xs transition hover:text-gray-900 dark:hover:text-gray-100"
on:click={() => startRename()}
>
<Pencil className="size-3.5" />
@@ -183,7 +183,7 @@
</button>
<button
type="button"
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-[13px] transition hover:text-gray-900 dark:hover:text-gray-100"
class="select-none flex h-[1.6875rem] w-full cursor-pointer items-center gap-2 rounded-xl bg-transparent px-2 text-xs transition hover:text-gray-900 dark:hover:text-gray-100"
on:click={() => onDelete(directory.id)}
>
<GarbageBin className="size-3.5" />