minor fixes: scroll bars on overflowing elements, copy button size, function args spacing, type icons padding, link to window.location.href

This commit is contained in:
Xanazf 2024-09-28 10:44:54 +03:00
parent 3c2fb32b3e
commit ffdbd0e614
13 changed files with 488 additions and 546 deletions

View file

@ -7,6 +7,8 @@ import {
import type { SearchResult } from "./types";
import SearchModal from "./SearchModal";
//const pagefindPath = "@dist/pagefind/pagefind.js";
//const pagefind = await import(pagefindPath);
const pagefind = await import("@dist/pagefind/pagefind.js");
pagefind.init();
@ -44,7 +46,7 @@ const SearchComponent: Component = () => {
value={query()}
placeholder="Search"
onChange={e => handleSearch(e.target.value)}
//onfocusout={() => setQuery("")}
//onfocusout={() => setQuery("")}
/>{" "}
{!results.loading && results() && results()!.length > 0 ? (
<SearchModal