Skip to content

Commit

Permalink
Rollup merge of #56498 - GuillaumeGomez:line-numbers, r=QuietMisdreavus
Browse files Browse the repository at this point in the history
Fix line numbers display

Thanks to @talchas for finding the bug and suggesting the solution!

r? @QuietMisdreavus
  • Loading branch information
GuillaumeGomez authored Dec 4, 2018
2 parents 426643d + e41e85c commit be0217c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ nav.sub {
padding-left: 0;
}

:not(.source) .example-wrap {
.rustdoc:not(.source) .example-wrap {
display: inline-flex;
margin-bottom: 10px;
}
Expand All @@ -300,7 +300,7 @@ nav.sub {
text-align: right;
}

:not(.source) .example-wrap > pre.rust {
.rustdoc:not(.source) .example-wrap > pre.rust {
width: 100%;
overflow-x: auto;
}
Expand Down

0 comments on commit be0217c

Please sign in to comment.