Skip to content

Commit

Permalink
Rollup merge of rust-lang#101554 - notriddle:notriddle/implemenation-…
Browse files Browse the repository at this point in the history
…list-h3-span-in-band, r=Dylan-DPC

rustdoc: remove unused CSS `#implementations-list > h3 > span.in-band`

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
sanxiyn committed Sep 8, 2022
2 parents e7cd85f + 6d2935d commit ea66f9a
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 ea66f9a

Please sign in to comment.