Rollup merge of #56498 - GuillaumeGomez:line-numbers, r=QuietMisdreavus

Fix line numbers display

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

r? @QuietMisdreavus
This commit is contained in:
Pietro Albini 2018-12-05 23:54:37 +01:00 committed by GitHub
commit 39d4c0caa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,7 +282,7 @@ nav.sub {
padding-left: 0;
}
:not(.source) .example-wrap {
.rustdoc:not(.source) .example-wrap {
display: inline-flex;
margin-bottom: 10px;
}
@ -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;
}