forked from pdsls.dev/pdsls
atproto explorer

fix account manager truncation

juli.ee b5787c9f 693b373b

verified
Changed files
+9 -11
src
components
+9 -11
src/components/account.tsx
··· 77 77 <For each={Object.keys(sessions)}> 78 78 {(did) => ( 79 79 <div class="flex items-center"> 80 - <div class="flex w-full items-center justify-between gap-x-2 rounded-lg hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"> 81 - <button 82 - class="flex basis-full items-center justify-between gap-1 truncate p-1" 83 - onclick={() => resumeSession(did as Did)} 84 - > 85 - <span class="truncate">{sessions[did]?.length ? sessions[did] : did}</span> 86 - <Show when={did === agent()?.sub}> 87 - <span class="iconify lucide--check shrink-0"></span> 88 - </Show> 89 - </button> 90 - </div> 80 + <button 81 + class="flex w-full items-center justify-between gap-1 truncate rounded-lg p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" 82 + onclick={() => resumeSession(did as Did)} 83 + > 84 + <span class="truncate">{sessions[did]?.length ? sessions[did] : did}</span> 85 + <Show when={did === agent()?.sub}> 86 + <span class="iconify lucide--check shrink-0"></span> 87 + </Show> 88 + </button> 91 89 <A 92 90 href={`/at://${did}`} 93 91 onClick={() => setOpenManager(false)}