Skip to content

Commit

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

Improve search style

Fixes rust-lang#46494.

r? @QuietMisdreavus
  • Loading branch information
frewsxcv authored Dec 6, 2017
2 parents 17dd988 + 611d0e6 commit 872c025
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ nav.sub {
top: 0;
height: 100vh;
overflow: auto;
z-index: 1;
}

.sidebar .current {
Expand Down Expand Up @@ -273,9 +272,19 @@ nav.sub {
overflow: auto;
padding-left: 0;
}

#search {
margin-left: 230px;
position: relative;
}

#results {
position: absolute;
right: 0;
left: 0;
overflow: auto;
}

.content pre.line-numbers {
float: left;
border: none;
Expand Down

0 comments on commit 872c025

Please sign in to comment.