Skip to content

Commit

Permalink
Rollup merge of rust-lang#41921 - GuillaumeGomez:fix-search-style, r=…
Browse files Browse the repository at this point in the history
…steveklabnik

Fix search when looking to sources

Before:

<img width="1440" alt="screen shot 2017-05-11 at 22 33 28" src="https://cloud.githubusercontent.com/assets/3050060/25970761/03fd2ade-369a-11e7-9fd6-783c23455589.png">

After:

<img width="1440" alt="screen shot 2017-05-11 at 22 34 05" src="https://cloud.githubusercontent.com/assets/3050060/25970770/09ac71ce-369a-11e7-9038-559f414e07b5.png">

r? @rust-lang/docs
  • Loading branch information
Mark-Simulacrum authored May 12, 2017
2 parents 01dfd18 + 75b69c4 commit 8467fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ nav.sub {
overflow: auto;
padding-left: 0;
}
#search {
margin-left: 230px;
}
.content pre.line-numbers {
float: left;
border: none;
Expand Down

0 comments on commit 8467fd6

Please sign in to comment.