File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1313{# modified from sphinx/themes/basic/searchbox.html #}
1414 {%- if builder != "htmlhelp" %}
1515 < div class ="inline-search " style ="display: none " role ="search ">
16- < form class ="inline-search " action ="{{ pathto('search') }} " method ="get ">
17- < input placeholder ="{{ _('Quick search') }} " type ="text " name ="q " />
18- < input type ="submit " value ="{{ _('Go') }} " />
19- < input type ="hidden " name ="check_keywords " value ="yes " />
20- < input type ="hidden " name ="area " value ="default " />
16+ < div class ="flex-container ">
17+ < form class ="inline-search " action ="{{ pathto('search') }} " method ="get ">
18+ < input placeholder ="{{ _('Quick search') }} " type ="text " name ="q " />
19+ < input type ="submit " value ="{{ _('Go') }} " />
20+ < input type ="hidden " name ="check_keywords " value ="yes " />
21+ < input type ="hidden " name ="area " value ="default " />
2122 </ form >
22- </ div >
23+ </ div >
24+ </ div >
2325 < script type ="text/javascript "> $ ( '.inline-search' ) . show ( 0 ) ; </ script >
2426 {%- endif %}
2527{%- endmacro %}
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ div.related:first-child {
2222 border-bottom : 1px solid # ccc ;
2323}
2424
25+ .flex .container {
26+ display : flex;
27+ }
28+
29+ .fill-width {
30+ flex : 1 ;
31+ }
32+
2533.inline-search {
2634 display : inline;
2735}
You can’t perform that action at this time.
0 commit comments