Skip to content

Commit

Permalink
rustdoc: remove redundant CSS .source .content { overflow: visible }
Browse files Browse the repository at this point in the history
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
notriddle committed Dec 29, 2022
1 parent e37ff7e commit 44fb7e2
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 44fb7e2

Please sign in to comment.