Skip to content

Commit

Permalink
rustdoc: remove unused CSS selector .methods > .item-info
Browse files Browse the repository at this point in the history
It was added with e08a84a
(actually, it was called `.methods > .stability` at the time) and was
directly nested that way.

But with the switch to `<details>`, the code has changed drastically out from
under it, to the point where you have to go out of your way to actually get
it to render this way, and the result looks overly-tight and weird alongside
the normal version where this code is not reachable.
  • Loading branch information
notriddle committed Sep 2, 2022
1 parent 9353538 commit df09047
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 @@ -782,10 +782,6 @@ pre, .rustdoc.source .example-wrap {
margin-left: 40px;
}

.methods > .item-info, .content .impl-items > .item-info {
margin-top: -8px;
}

.impl-items {
flex-basis: 100%;
}
Expand Down

0 comments on commit df09047

Please sign in to comment.