Skip to content

Commit df09047

Browse files
committed
rustdoc: remove unused CSS selector .methods > .item-info
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.
1 parent 9353538 commit df09047

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/css/rustdoc.css

-4
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,6 @@ pre, .rustdoc.source .example-wrap {
782782
margin-left: 40px;
783783
}
784784

785-
.methods > .item-info, .content .impl-items > .item-info {
786-
margin-top: -8px;
787-
}
788-
789785
.impl-items {
790786
flex-basis: 100%;
791787
}

0 commit comments

Comments
 (0)