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