File tree 4 files changed +2
-9
lines changed
theme/pydata_sphinx_theme
4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 37
37
color : var (--pst-color-text-muted );
38
38
}
39
39
40
- label {
41
- display : flex ;
42
- }
43
-
44
40
input .form-control {
45
41
background-color : var (--pst-color-background );
46
42
color : var (--pst-color-text-base );
Original file line number Diff line number Diff line change 2
2
< form class ="bd-search d-flex align-items-center "
3
3
action ="{{ pathto('search') }} "
4
4
method ="get ">
5
- < label for ="{{ search_input_id }} "
6
- aria-label ="{{ theme_search_bar_text }} "> < i class ="fa-solid fa-magnifying-glass "> </ i > </ label >
5
+ < i class ="fa-solid fa-magnifying-glass "> </ i >
7
6
< input type ="search "
8
7
class ="form-control "
9
8
name ="q "
10
- id ="{{ search_input_id }} "
11
9
placeholder ="{{ theme_search_bar_text }} "
10
+ aria-label ="{{ theme_search_bar_text }} "
12
11
autocomplete ="off "
13
12
autocorrect ="off "
14
13
autocapitalize ="off "
Original file line number Diff line number Diff line change 64
64
< label class ="overlay overlay-secondary " for ="pst-secondary-sidebar-checkbox "> </ label >
65
65
{# A search field pop-up that will only show when the search button is clicked #}
66
66
< dialog class ="search-button__search-container ">
67
- {%- set search_input_id="search-input-hidden" -%}
68
67
{% include "../components/search-field.html" %}
69
68
</ dialog >
70
69
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ <h1>{{ _("Search") }}</h1>
9
9
< p > {% trans %}Please activate JavaScript to enable the search functionality.{% endtrans %}</ p >
10
10
</ div >
11
11
</ noscript >
12
- {%- set search_input_id="search-input-results-page" -%}
13
12
{% include "../components/search-field.html" %}
14
13
< div id ="search-results "> </ div >
15
14
</ div >
You can’t perform that action at this time.
0 commit comments