Skip to content

Commit

Permalink
Changing DocSearch style (#225)
Browse files Browse the repository at this point in the history
Changing Algolia doc search css file. It is on "/static/algoliaDocSearch.css". Every modification is indicated with a comment '#deco'.
  • Loading branch information
nathanluiz33 authored Jan 3, 2024
1 parent e25e437 commit 0490ed6
Show file tree
Hide file tree
Showing 3 changed files with 775 additions and 7 deletions.
6 changes: 3 additions & 3 deletions components/decohelp/pages/ui/Sidebar/SearchButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Head } from "$fresh/runtime.ts";
import { Head, asset } from "$fresh/runtime.ts";
import { useEffect, useRef } from "preact/hooks";
import docsearch from "https://esm.sh/@docsearch/[email protected]?target=es2020";

Expand Down Expand Up @@ -40,12 +40,12 @@ export default function SearchButton(
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"
href={asset("/algoliaDocSearch.css")}
/>
</Head>
<div
title="Search Button"
class="h-9 mb-6"
class="mb-2"
ref={ref}
>
</div>
Expand Down
8 changes: 4 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"imports": {
"deco-sites/starting/": "./",
"deco-sites/std/": "https://denopkg.com/deco-sites/[email protected]/",
"$live/": "https://denopkg.com/deco-cx/deco@1.49.0/",
"$live/": "https://denopkg.com/deco-cx/deco@1.50.2/",
"$store/": "./",
"deco/": "https://denopkg.com/deco-cx/deco@1.49.0/",
"apps/": "https://denopkg.com/deco-cx/[email protected].15/",
"deco/": "https://denopkg.com/deco-cx/deco@1.50.2/",
"apps/": "https://denopkg.com/deco-cx/[email protected].20/",
"$fresh/": "https://deno.land/x/[email protected]/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.3.1",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"std/": "https://deno.land/[email protected]/",
Expand Down
Loading

0 comments on commit 0490ed6

Please sign in to comment.