Skip to content

Commit e41e85c

Browse files
Fix line numbers display
1 parent 91d5d56 commit e41e85c

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
}
306306

0 commit comments

Comments
 (0)