Skip to content

Commit

Permalink
docs: minor doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Aug 6, 2024
1 parent 85f7b1a commit aa77c71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## Getting started

**[Demo](https://jquery.github.io/typesense-minibar/demo/)**
**[Demo](https://jquery.github.io/typesense-minibar/)**

```html
<typesense-minibar data-origin="" data-collection="" data-key="">
Expand Down
2 changes: 1 addition & 1 deletion demo/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ typesense-minibar.demo-form-overlay:focus-within form {
.demo-stylecontrol fieldset {
background: #fff;
}
@media (min-height: 600px) {
@media (min-height: 750px) {
.demo-stylecontrol {
position: sticky;
bottom: 0;
Expand Down
5 changes: 4 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
<input type="hidden" name="sites" value="qunitjs.com">
</form>
</typesense-minibar>

<span class="demo-caption">Themed (Web Component)</span>
</header>

<header class="demo-head-right">
<a href="../" class="demo-logo"></a>
<span class="demo-caption">Themed (Web Component, group=true, right aligned)</span>
Expand All @@ -31,6 +33,7 @@
</form>
</typesense-minibar>
</header>

<header class="demo-head-right">
<a href="../" class="demo-logo"></a>
<span class="demo-caption">Themed (HTML class, group=true, right aligned)</span>
Expand Down Expand Up @@ -60,7 +63,7 @@ <h2>Style API (fullscreen overlay, group=true, Web Component)</h2>
<input type="search" name="q" aria-label="Search" placeholder="Search..." autocomplete="off">
<input type="hidden" name="sites" value="jquery.com">
</form>
</typesense-minibar>
</typesense-minibar>

<h2>Style API (customized --tsmb-size-* variables)</h2>
<form role="search" class="tsmb-form demo-form-size" data-origin="https://typesense.jquery.com" data-collection="jquery_com" data-key="Zh8mMgohXECel9wjPwqT7lekLSG3OCgz" data-foot="true" data-group="true" action="https://duckduckgo.com">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2>Pages</h2>
<ul>
<li><a href="./demo/">Demos & Comparisons</a></li>
<li><a href="./demo/"><strong>Demo</strong> & Comparisons</a>
<li><a href="./test/">QUnit test suite</a></li>
<li><a href="./coverage/">Test coverage report</a></li>
</ul>
Expand Down

0 comments on commit aa77c71

Please sign in to comment.