]> git.lizzy.rs Git - rust.git/commitdiff
Remove unneeded body class selector
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 1 Dec 2018 17:20:43 +0000 (18:20 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 1 Dec 2018 17:20:43 +0000 (18:20 +0100)
src/librustdoc/html/static/rustdoc.css

index 1ae3b0b88c6dd5ea1f6120cf9471b7524da452d0..ad5bc021408c0acc3959cade96fb9bf9af634f48 100644 (file)
@@ -282,7 +282,7 @@ nav.sub {
        padding-left: 0;
 }
 
-body:not(.source) .example-wrap {
+:not(.source) .example-wrap {
        display: inline-flex;
 }
 
@@ -299,7 +299,7 @@ body:not(.source) .example-wrap {
        text-align: right;
 }
 
-body:not(.source) .example-wrap > pre.rust {
+:not(.source) .example-wrap > pre.rust {
        width: 100%;
 }