File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,13 @@ pub fn render<T: fmt::Default, S: fmt::Default>(
58
58
59
59
<nav class=\" sub\" >
60
60
<form class=\" search-form js-only\" >
61
- <input class=\" search-input\" name=\" search\"
62
- autocomplete=\" off\"
63
- placeholder=\" Search documentation...\"
64
- type=\" search\" />
65
61
<button class=\" do-search\" >Search</button>
62
+ <div class=\" search-container\" >
63
+ <input class=\" search-input\" name=\" search\"
64
+ autocomplete=\" off\"
65
+ placeholder=\" Search documentation...\"
66
+ type=\" search\" />
67
+ </div>
66
68
</form>
67
69
</nav>
68
70
Original file line number Diff line number Diff line change @@ -233,10 +233,14 @@ a {
233
233
.content a .fn , .block a .current .fn { color : # 8c6067 ; }
234
234
.content .fnname { color : # 8c6067 ; }
235
235
236
+ .search-container {
237
+ padding-right : 10px ;
238
+ overflow : hidden;
239
+ }
236
240
.search-input {
237
241
border : 2px solid # e9e9e9 ;
238
242
border-radius : 2px ;
239
- width : calc ( 100% - 66 px ) ;
243
+ width : 100% ;
240
244
}
241
245
.do-search {
242
246
float : right;
You can’t perform that action at this time.
0 commit comments