Skip to content

Commit 7ba431a

Browse files
GuillaumeGomezQuietMisdreavus
authored andcommitted
Fix line numbers display
1 parent a01e476 commit 7ba431a

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
@@ -283,7 +283,7 @@ nav.sub {
283283
padding-left: 0;
284284
}
285285

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

304-
:not(.source) .example-wrap > pre.rust {
304+
.rustdoc:not(.source) .example-wrap > pre.rust {
305305
width: 100%;
306306
}
307307

0 commit comments

Comments
 (0)