Skip to content

Commit

Permalink
Rollup merge of #105619 - notriddle:notriddle/source-pre-overflow, r=…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
matthiaskrgr authored Dec 12, 2022
2 parents f5852c4 + bfc50d0 commit ab29c04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ ul.block, .block li {
}

.source .content pre.rust {
overflow: auto;
padding-left: 0;
}

Expand Down

0 comments on commit ab29c04

Please sign in to comment.