+3
-3
src/components/account.tsx
+3
-3
src/components/account.tsx
···
75
75
{(did) => (
76
76
<div class="group/select flex w-full items-center justify-between gap-x-2">
77
77
<button
78
-
class="flex max-w-[32ch] basis-full items-center justify-between truncate rounded bg-transparent px-1 text-left group-hover/select:bg-zinc-100 dark:group-hover/select:bg-neutral-600"
78
+
class="flex max-w-[32ch] basis-full items-center justify-between gap-1 truncate rounded bg-transparent px-1 text-left group-hover/select:bg-zinc-100 dark:group-hover/select:bg-neutral-600"
79
79
onclick={() => resumeSession(did as Did)}
80
80
>
81
-
{sessions[did]?.length ? sessions[did] : did}
81
+
<span class="truncate">{sessions[did]?.length ? sessions[did] : did}</span>
82
82
<Show when={did === agent?.sub}>
83
-
<div class="i-lucide-check" />
83
+
<div class="i-lucide-check shrink-0" />
84
84
</Show>
85
85
</button>
86
86
<button onclick={() => removeSession(did as Did)}>