Skip to content

Commit 79b33e9

Browse files
committed
fix: change search form to search modal btn
1 parent 04f4a8b commit 79b33e9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs_theme/nav.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,16 @@
139139
</ul>
140140
{% endif %}
141141

142-
<form class="d-flex mx-auto" role="search">
143-
<input
144-
class="form-control me-2"
145-
type="search"
146-
placeholder="Search"
147-
aria-label="Search"
148-
/>
149-
<button class="btn btn-outline-success" type="submit">Search</button>
150-
</form>
151-
152142
<div class="d-flex gap-2">
143+
<a
144+
id="search_modal_btn"
145+
class="btn btn-sm btn-secondary"
146+
href="#search_modal"
147+
data-bs-toggle="modal"
148+
data-bs-target="#search_modal"
149+
>
150+
Search
151+
</a>
153152
<!-- prettier-ignore -->
154153
<a
155154
{% if page.previous_page %}href="{{ page.previous_page.url|url }}"{% endif %}

0 commit comments

Comments
 (0)