]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: remove no-op CSS `.source pre { overflow: auto }`
authorMichael Howell <michael@notriddle.com>
Mon, 12 Dec 2022 16:56:15 +0000 (09:56 -0700)
committerMichael Howell <michael@notriddle.com>
Mon, 12 Dec 2022 17:02:04 +0000 (10:02 -0700)
Since source pages use the `example-wrap` wrapper, this rule became
redundant because there is already an `overflow-x: auto` rule.

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

index 91162ca4892ca0a43caa71b64d54696bee1a69a7..d22d2f2edb038ba6c2d8b13322beccb039fe51bd 100644 (file)
@@ -523,7 +523,6 @@ ul.block, .block li {
 }
 
 .source .content pre.rust {
-       overflow: auto;
        padding-left: 0;
 }