Skip to content

Commit 9eefa23

Browse files
authored
Rollup merge of #102871 - notriddle:notriddle/trait-impl-anchor, r=GuillaumeGomez
rustdoc: clean up overly complex `.trait-impl` CSS selectors When added in 4596436, these multi-class selectors were present in the initial commit, but no reason was given why the shorter selector wouldn't work.
2 parents 15aa2f1 + 03fe005 commit 9eefa23

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,7 @@ a {
734734
display: initial;
735735
}
736736

737-
.impl:hover > .anchor, .method.trait-impl:hover > .anchor,
738-
.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor,
739-
.associatedtype.trait-impl:hover > .anchor {
737+
.impl:hover > .anchor, .trait-impl:hover > .anchor {
740738
display: inline-block;
741739
position: absolute;
742740
}

0 commit comments

Comments
 (0)