Skip to content

Commit

Permalink
Small improvement for the sidebar on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 12, 2017
1 parent c0d40a1 commit 9da9c3b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/librustdoc/html/static/rustdoc.css
Expand Up @@ -764,17 +764,19 @@ span.since {
}

.sidebar {
height: 40px;
height: 45px;
min-height: 40px;
width: 100%;
margin: 0px;
padding: 0px;
width: calc(100% + 30px);
margin: 0;
margin-left: -15px;
padding: 0 15px;
position: static;
}

.sidebar .location {
float: right;
margin: 0px;
margin-top: 2px;
padding: 3px 10px 1px 10px;
min-height: 39px;
background: inherit;
Expand All @@ -789,7 +791,7 @@ span.since {
.sidebar img {
width: 35px;
margin-top: 5px;
margin-bottom: 0px;
margin-bottom: 5px;
float: left;
}

Expand Down

0 comments on commit 9da9c3b

Please sign in to comment.