Skip to content

Commit

Permalink
Rollup merge of #101580 - notriddle:notriddle/div-impl-items-div, r=G…
Browse files Browse the repository at this point in the history
…uillaumeGomez

rustdoc: remove unused CSS `div.impl-items > div`

This was added in 9077d54 to override the style on `<div>` tags that were acting as headers. These `<div>` tags were replaced with `<section>` tags in 32f6260, but this CSS was probably already redundant even then (the headers had already been replaced with real `<h3>` and `<h4>` tags in 76a3b60).
  • Loading branch information
compiler-errors committed Sep 8, 2022
2 parents c810cd1 + f7b10b9 commit b300123
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ h4.code-header {
position: relative;
}

div.impl-items > div {
padding-left: 0;
}

h1, h2, h3, h4, h5, h6,
.sidebar,
.mobile-topbar,
Expand All @@ -212,7 +208,6 @@ a.source,
span.since,
#source-sidebar, #sidebar-toggle,
details.rustdoc-toggle > summary::before,
div.impl-items > div:not(.docblock):not(.item-info),
.content ul.crate a.crate,
a.srclink,
#help-button > button,
Expand Down

0 comments on commit b300123

Please sign in to comment.