Skip to content

Commit ab29c04

Browse files
authored
Rollup merge of #105619 - notriddle:notriddle/source-pre-overflow, r=GuillaumeGomez
rustdoc: remove no-op CSS `.source pre { overflow: auto }` Since source pages use the `example-wrap` wrapper, this rule became redundant because there is already an `overflow-x: auto` rule.
2 parents f5852c4 + bfc50d0 commit ab29c04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ ul.block, .block li {
523523
}
524524

525525
.source .content pre.rust {
526-
overflow: auto;
527526
padding-left: 0;
528527
}
529528

0 commit comments

Comments
 (0)