tangled
alpha
login
or
join now
pds.ls
/
pdsls
398
fork
atom
atmosphere explorer
pds.ls
tool
typescript
atproto
398
fork
atom
overview
issues
1
pulls
pipelines
fix colors of alt client dropdown
handle.invalid
2 weeks ago
d6244a21
1f33df30
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+3
-3
1 changed file
expand all
collapse all
unified
split
src
views
record.tsx
+3
-3
src/views/record.tsx
···
487
487
classList={{
488
488
"rounded-sm hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
489
489
!bskyAlts().length,
490
490
-
"bg-neutral-50 rounded-t dark:bg-dark-300 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
490
490
+
"bg-neutral-50 rounded-t dark:bg-dark-200 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
491
491
showAlternates() && bskyAlts().length > 0,
492
492
}}
493
493
>
···
497
497
/>
498
498
</a>
499
499
<Show when={showAlternates() && bskyAlts().length > 0}>
500
500
-
<div class="dark:bg-dark-300 absolute top-full left-0 z-10 flex flex-col overflow-hidden rounded-b bg-neutral-50 shadow-xs">
500
500
+
<div class="dark:bg-dark-200 absolute top-full left-0 z-10 flex flex-col overflow-hidden rounded-b bg-neutral-50 shadow-xs">
501
501
<For each={bskyAlts()}>
502
502
{(alt) => (
503
503
<a
504
504
href={alt.link}
505
505
target="_blank"
506
506
title={`Open on ${alt.label}`}
507
507
-
class="flex p-1.5 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
507
507
+
class="flex p-1.5 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
508
508
>
509
509
{alt.icon ?
510
510
<img src={alt.icon} class="size-4" />