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:
commit
39d4c0caa4
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue