]> git.lizzy.rs Git - rust.git/commitdiff
Fix line numbers display
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 4 Dec 2018 10:33:57 +0000 (11:33 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 4 Dec 2018 10:33:57 +0000 (11:33 +0100)
src/librustdoc/html/static/rustdoc.css

index c50c968f36002b3ec1d360749f0083e64c0a9166..19e8e8c4c953819794467d79a5b565219bc6b90c 100644 (file)
@@ -282,7 +282,7 @@ nav.sub {
        padding-left: 0;
 }
 
-:not(.source) .example-wrap {
+.rustdoc:not(.source) .example-wrap {
        display: inline-flex;
        margin-bottom: 10px;
 }
@@ -300,7 +300,7 @@ nav.sub {
        text-align: right;
 }
 
-:not(.source) .example-wrap > pre.rust {
+.rustdoc:not(.source) .example-wrap > pre.rust {
        width: 100%;
 }