diff options
| author | Michael Howell <michael@notriddle.com> | 2022-10-09 23:19:50 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-10-09 23:19:50 -0700 |
| commit | 03fe005f4967439c09b538f1dcf5e38ca5d27019 (patch) | |
| tree | dbc5f736b85b2df04706e84f07dc0b5ab78bf586 | |
| parent | 1a7c203e7f89f92598a793c6f6406735c024e7ee (diff) | |
| download | rust-03fe005f4967439c09b538f1dcf5e38ca5d27019.tar.gz rust-03fe005f4967439c09b538f1dcf5e38ca5d27019.zip | |
rustdoc: clean up overly complex `.trait-impl` CSS selectors
When added in 45964368f4a2e31c94e9bcf1cef933c087d21544, these multi-class selectors were present in the initial commit, but no reason was given why the shorter selector wouldn't work.
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index eb64147d906..d4228a2ebc6 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -734,9 +734,7 @@ a { display: initial; } -.impl:hover > .anchor, .method.trait-impl:hover > .anchor, -.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor, -.associatedtype.trait-impl:hover > .anchor { +.impl:hover > .anchor, .trait-impl:hover > .anchor { display: inline-block; position: absolute; } |
