Skip to content

Commit 08a6cf3

Browse files
Remove unneeded body class selector
1 parent b76ee83 commit 08a6cf3

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-
body:not(.source) .example-wrap {
285+
:not(.source) .example-wrap {
286286
display: inline-flex;
287287
}
288288

@@ -299,7 +299,7 @@ body:not(.source) .example-wrap {
299299
text-align: right;
300300
}
301301

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

0 commit comments

Comments
 (0)