add anchors links on hover to items from trait impl

This commit is contained in:
François Mockers
2021-03-11 03:32:30 +01:00
parent e1b6bb214f
commit 45964368f4
2 changed files with 16 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
margin-bottom: 10px;
position: relative;
}
h3.impl, h3.method, h3.type {
h3.impl, h3.method, h4.method.trait-impl, h3.type, h4.type.trait-impl, h4.associatedconstant.trait-impl {
padding-left: 15px;
}
@@ -655,7 +655,8 @@ a {
display: initial;
}
.in-band:hover > .anchor, .impl:hover > .anchor {
.in-band:hover > .anchor, .impl:hover > .anchor, .method.trait-impl:hover > .anchor,
.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor {
display: inline-block;
position: absolute;
}