Fix display of small-section-header elements
This commit is contained in:
parent
ac8c3bfffb
commit
1f84bffdf0
2 changed files with 1 additions and 6 deletions
|
@ -1027,7 +1027,7 @@ fn render_assoc_items(
|
||||||
write!(
|
write!(
|
||||||
w,
|
w,
|
||||||
"<h2 id=\"deref-methods\" class=\"small-section-header\">\
|
"<h2 id=\"deref-methods\" class=\"small-section-header\">\
|
||||||
Methods from {trait_}<Target = {type_}>\
|
<span>Methods from {trait_}<Target = {type_}></span>\
|
||||||
<a href=\"#deref-methods\" class=\"anchor\"></a>\
|
<a href=\"#deref-methods\" class=\"anchor\"></a>\
|
||||||
</h2>",
|
</h2>",
|
||||||
trait_ = trait_.print(cx),
|
trait_ = trait_.print(cx),
|
||||||
|
|
|
@ -1092,11 +1092,6 @@ a.test-arrow:hover{
|
||||||
left: -10px;
|
left: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main > .variant, #main > .structfield {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
:target > code {
|
:target > code {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue