Skip to content

Commit 298e681

Browse files
authored
Rollup merge of #56416 - GuillaumeGomez:css-body, r=QuietMisdreavus
Remove unneeded body class selector r? @QuietMisdreavus
2 parents 3993dc9 + 08a6cf3 commit 298e681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/rustdoc.css

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

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

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

0 commit comments

Comments
 (0)