Skip to content

Commit

Permalink
Fix display of small-section-header elements
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 8, 2021
1 parent ac8c3bf commit 1f84bff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ fn render_assoc_items(
write!(
w,
"<h2 id=\"deref-methods\" class=\"small-section-header\">\
Methods from {trait_}&lt;Target = {type_}&gt;\
<span>Methods from {trait_}&lt;Target = {type_}&gt;</span>\
<a href=\"#deref-methods\" class=\"anchor\"></a>\
</h2>",
trait_ = trait_.print(cx),
Expand Down
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 @@ -1092,11 +1092,6 @@ a.test-arrow:hover{
left: -10px;
}

#main > .variant, #main > .structfield {
display: block;
}


:target > code {
opacity: 1;
}
Expand Down

0 comments on commit 1f84bff

Please sign in to comment.