Skip to content

Commit 39d4c0c

Browse files
authored
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
2 parents bcf2fa1 + e41e85c commit 39d4c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ nav.sub {
282282
padding-left: 0;
283283
}
284284

285-
:not(.source) .example-wrap {
285+
.rustdoc:not(.source) .example-wrap {
286286
display: inline-flex;
287287
margin-bottom: 10px;
288288
}
@@ -300,7 +300,7 @@ nav.sub {
300300
text-align: right;
301301
}
302302

303-
:not(.source) .example-wrap > pre.rust {
303+
.rustdoc:not(.source) .example-wrap > pre.rust {
304304
width: 100%;
305305
overflow-x: auto;
306306
}

0 commit comments

Comments
 (0)