tangled
alpha
login
or
join now
olaren.dev
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atmosphere explorer
0
fork
atom
overview
issues
pulls
pipelines
only trigger hover when supported
handle.invalid
1 month ago
b99cdcdd
ee350ed0
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+3
-2
1 changed file
expand all
collapse all
unified
split
src
views
pds.tsx
+3
-2
src/views/pds.tsx
···
8
8
import { Button } from "../components/button";
9
9
import DidHoverCard from "../components/hover-card/did";
10
10
import { setPDS } from "../components/navbar";
11
11
+
import { canHover } from "../layout";
11
12
import { localDateFromTimestamp } from "../utils/date";
12
13
13
14
const LIMIT = 1000;
···
59
60
<div class="flex flex-col gap-1">
60
61
<div
61
62
class="dark:hover:bg-dark-200 flex min-w-0 flex-1 items-center rounded hover:bg-neutral-200/70"
62
62
-
onMouseEnter={() => setHovering(true)}
63
63
-
onMouseLeave={() => setHovering(false)}
63
63
+
onMouseEnter={() => canHover && setHovering(true)}
64
64
+
onMouseLeave={() => canHover && setHovering(false)}
64
65
>
65
66
<button
66
67
type="button"