Skip to content

Commit 52c7d7b

Browse files
authored
Rollup merge of #101580 - notriddle:notriddle/div-impl-items-div, r=GuillaumeGomez
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).
2 parents ea66f9a + f7b10b9 commit 52c7d7b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-5
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ h4.code-header {
197197
position: relative;
198198
}
199199

200-
div.impl-items > div {
201-
padding-left: 0;
202-
}
203-
204200
h1, h2, h3, h4, h5, h6,
205201
.sidebar,
206202
.mobile-topbar,
@@ -212,7 +208,6 @@ a.source,
212208
span.since,
213209
#source-sidebar, #sidebar-toggle,
214210
details.rustdoc-toggle > summary::before,
215-
div.impl-items > div:not(.docblock):not(.item-info),
216211
.content ul.crate a.crate,
217212
a.srclink,
218213
#help-button > button,

0 commit comments

Comments
 (0)