]> git.lizzy.rs Git - rust.git/commitdiff
Improve CSS rule
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 15 Dec 2018 11:42:10 +0000 (12:42 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 15 Dec 2018 11:42:10 +0000 (12:42 +0100)
src/librustdoc/html/static/rustdoc.css

index d1336b1e8eb0b7aa510bd30df42795ef893dcd1d..01d2cbec1922145445b74d85b24f7df27ebe66a7 100644 (file)
@@ -305,7 +305,7 @@ nav.sub {
        overflow-x: auto;
 }
 
-body:not(.source) .example-wrap > pre {
+.rustdoc:not(.source) .example-wrap > pre {
        margin: 0;
 }