File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change
1
+ < style >
2
+ input [type = text ] {
3
+ box-sizing : border-box;
4
+ background-color : white;
5
+ background-image : url ('https://www.w3schools.com/css/searchicon.png' );
6
+ background-position : 10px 10px ;
7
+ background-repeat : no-repeat;
8
+ padding : 12px 20px 12px 40px ;
9
+ }
10
+ </ style >
11
+
1
12
{{ if or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
2
13
< input
3
- type ="search "
14
+ type ="text "
4
15
class ="form-control td-search-input "
5
- placeholder =" {{ T "ui_search_placeholder " }}"
16
+ placeholder =" {{ T "ui_search_placeholder " }}"
6
17
aria-label="{{ T "ui_search_placeholder " }}"
7
18
autocomplete="off "
8
19
>
9
20
{{ else if .Site.Params.offlineSearch }}
10
21
< div id ="search-nav-container ">
11
22
< input
12
- type ="search "
23
+ type ="text "
13
24
id ="search-input "
14
25
autocomplete ="off "
15
26
class ="form-control td-search-input "
16
- placeholder =" {{ T "ui_search_placeholder " }}"
27
+ placeholder =" {{ T "ui_search_placeholder " }}"
17
28
autocomplete="off "
18
29
>
19
30
< div id ="search-results " class ="container "> </ div >
20
31
</ div >
21
32
{{ else if .Site.Params.k8s_search }}
22
33
< input
23
- type ="search "
34
+ type ="text "
24
35
class ="form-control td-search-input "
25
36
name ="q "
26
- placeholder =" {{ T "ui_search_placeholder " }}"
37
+ placeholder =" {{ T "ui_search_placeholder " }}"
27
38
aria-label="{{ T "ui_search_placeholder " }}"
28
39
autocomplete="off "
29
40
>
You can’t perform that action at this time.
0 commit comments