]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: remove no-op CSS `.scrape-example .src-line-numbers { margin: 0 }`
authorMichael Howell <michael@notriddle.com>
Wed, 14 Dec 2022 23:25:26 +0000 (16:25 -0700)
committerMichael Howell <michael@notriddle.com>
Wed, 14 Dec 2022 23:25:26 +0000 (16:25 -0700)
This is the default CSS for `<pre>` tags in `.code-wrapper` anyway, so this
line does nothing.

src/librustdoc/html/static/css/rustdoc.css

index c485ac9ddb8c1b2fd2252e4562d7d6f631d908cd..e7614789ed925e231d0cf7aa97cb859e2a9b0225 100644 (file)
@@ -1970,7 +1970,6 @@ in storage.js
 }
 
 .scraped-example .code-wrapper .src-line-numbers {
-       margin: 0;
        padding: 14px 0;
 }