Skip to content

Commit

Permalink
rustdoc: remove no-op CSS .source pre { overflow: auto }
Browse files Browse the repository at this point in the history
Since source pages use the `example-wrap` wrapper, this rule became
redundant because there is already an `overflow-x: auto` rule.
  • Loading branch information
notriddle committed Dec 12, 2022
1 parent 37d7de3 commit bfc50d0
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 bfc50d0

Please sign in to comment.