Skip to content

Commit

Permalink
Rollup merge of #106273 - notriddle:notriddle/source-content-overflow…
Browse files Browse the repository at this point in the history
…, r=GuillaumeGomez

rustdoc: remove redundant CSS `.source .content { overflow: visible }`

When added in 7669f04 / #16066, the page itself was set to scroll. Now it's set so that the `example-wrap` is scrolling inside the page, so the overflow setting for the content is irrelevant.
  • Loading branch information
matthiaskrgr authored Dec 30, 2022
2 parents bd20fc1 + 44fb7e2 commit 3f9909a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,6 @@ img {
max-width: 100%;
}

.source .content {
overflow: visible;
}

.sub-logo-container, .logo-container {
/* zero text boxes so that computed line height = image height exactly */
line-height: 0;
Expand Down

0 comments on commit 3f9909a

Please sign in to comment.