]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #72421 - GuillaumeGomez:fix-impl-hover-anchor, r=kinnison
authorRalf Jung <post@ralfj.de>
Thu, 21 May 2020 19:10:45 +0000 (21:10 +0200)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 19:10:45 +0000 (21:10 +0200)
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

src/librustdoc/html/static/rustdoc.css

index ab524751723333911372306ca700f2705d75e9a3..2cb3347135c1b4de185c3a1e84bd1d0f14419229 100644 (file)
@@ -625,7 +625,7 @@ a {
        display: initial;
 }
 
-.in-band:hover > .anchor {
+.in-band:hover > .anchor, .impl:hover > .anchor {
        display: inline-block;
        position: absolute;
 }