Skip to content

Commit

Permalink
rustdoc: remove unused CSS #implementations-list > h3 > span.in-band
Browse files Browse the repository at this point in the history
This was added in 51f26ac to help with the
display of an `<h3>` tag that has a `<span class='in-band'>` inside.

The way implementation lists were rendered was changed in
34bd2b8 to have `<code class='in-band'>`,
making this CSS unused.

Then it was turned into a `<div>` in 9077d54
without issue.

Finally, the header itself acquired the `in-band` class in
76a3b60.
  • Loading branch information
notriddle committed Sep 8, 2022
1 parent c2804e6 commit 6d2935d
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 @@ -1528,10 +1528,6 @@ kbd {
cursor: default;
}

#implementations-list > h3 > span.in-band {
width: 100%;
}

#main-content > ul {
padding-left: 10px;
}
Expand Down

0 comments on commit 6d2935d

Please sign in to comment.