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
reduce filter input padding
handle.invalid
1 month ago
e1d01b5f
89dd4f5c
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+2
-2
1 changed file
expand all
collapse all
unified
split
src
views
repo.tsx
+2
-2
src/views/repo.tsx
···
634
634
class="dark:bg-dark-200 dark:shadow-dark-700 mx-3 flex cursor-text items-center gap-2 rounded-lg border border-neutral-200 bg-white px-3 shadow-md dark:border-neutral-700"
635
635
onClick={(e) => {
636
636
const input = e.currentTarget.querySelector("input");
637
637
-
input?.focus();
637
637
+
if (e.target !== input) input?.focus();
638
638
}}
639
639
>
640
640
<span class="iconify lucide--filter text-neutral-500 dark:text-neutral-400"></span>
···
643
643
spellcheck={false}
644
644
autocapitalize="off"
645
645
autocomplete="off"
646
646
-
class="grow py-2.5 select-none placeholder:text-sm focus:outline-none"
646
646
+
class="grow py-2 select-none placeholder:text-sm focus:outline-none"
647
647
name="filter"
648
648
placeholder="Filter collections..."
649
649
value={filter() ?? ""}