Skip to content

Commit

Permalink
Rollup merge of rust-lang#32022 - gohyda:master, r=alexcrichton
Browse files Browse the repository at this point in the history
- Empty `.sidebar .location` caused "grey line" on top of the documentation page (under 700px) fixed.
- `.sidebar .location` appearance improvement in responsive mode.
  • Loading branch information
Manishearth committed Mar 4, 2016
2 parents a8a42c3 + 311ff03 commit 5d9c6c1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -616,15 +616,19 @@ a.test-arrow {
}

.sidebar .location {
float: left;
float: right;
margin: 0px;
padding: 5px;
width: 60%;
padding: 3px 10px 1px 10px;
min-height: 39px;
background: inherit;
text-align: left;
font-size: 24px;
}

.sidebar .location:empty {
padding: 0;
}

.sidebar img {
width: 35px;
margin-top: 5px;
Expand Down

0 comments on commit 5d9c6c1

Please sign in to comment.