atmosphere explorer

reduce filter input padding

handle.invalid e1d01b5f 89dd4f5c

verified
+2 -2
+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 - input?.focus(); 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 - class="grow py-2.5 select-none placeholder:text-sm focus:outline-none" 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() ?? ""}