Skip to content

Commit

Permalink
Rollup merge of rust-lang#72421 - GuillaumeGomez:fix-impl-hover-ancho…
Browse files Browse the repository at this point in the history
…r, r=kinnison

Fix anchor display when hovering impl

A little gif for the fixed behaviour:

![hover-anchor](https://user-images.githubusercontent.com/3050060/82549808-cfdf4080-9b5d-11ea-9495-2b1d90b2a791.gif)

r? @kinnison
  • Loading branch information
RalfJung authored May 21, 2020
2 parents 0b07add + 20b499c commit 284acc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ a {
display: initial;
}

.in-band:hover > .anchor {
.in-band:hover > .anchor, .impl:hover > .anchor {
display: inline-block;
position: absolute;
}
Expand Down

0 comments on commit 284acc8

Please sign in to comment.