File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,8 @@ <h3>{{ _('Navigation') }}</h3>
48
48
{%- if builder != "htmlhelp" %}
49
49
< div class ="inline-search " role ="search ">
50
50
< form class ="inline-search " action ="{{ pathto('search') }} " method ="get ">
51
- < input placeholder ="{{ _('Quick search') }} " aria-label ="{{ _('Quick search') }} " type ="text " name ="q " />
51
+ < input placeholder ="{{ _('Quick search') }} " aria-label ="{{ _('Quick search') }} " type ="search " name ="q " />
52
52
< input type ="submit " value ="{{ _('Go') }} " />
53
- < input type ="hidden " name ="check_keywords " value ="yes " />
54
- < input type ="hidden " name ="area " value ="default " />
55
53
</ form >
56
54
</ div >
57
55
{%- endif %}
@@ -109,9 +107,8 @@ <h3>{{ _('Navigation') }}</h3>
109
107
< svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 24 24 " class ="search-icon ">
110
108
< path fill-rule ="nonzero " fill ="currentColor " d ="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z "> </ path >
111
109
</ svg >
112
- < input type =" search " name =" q " aria-label ="{{ _('Quick search') }} "/>
110
+ < input placeholder =" {{ _('Quick search') }} " aria-label ="{{ _('Quick search') }} " type =" search " name =" q " />
113
111
< input type ="submit " value ="{{ _('Go') }} "/>
114
- {# TODO missing hidden inputs #}
115
112
</ form >
116
113
{%- endif %}
117
114
</ span >
Original file line number Diff line number Diff line change @@ -357,6 +357,7 @@ dl > dt span ~ em {
357
357
.nav-content .search input [type = search ] {
358
358
border : 0 ;
359
359
padding-left : 24px ;
360
+ width : 100% ;
360
361
flex : 1 ;
361
362
}
362
363
.nav-content .search input [type = submit ] {
You can’t perform that action at this time.
0 commit comments