]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: remove no-op `.method { position: relative }`
authorMichael Howell <michael@notriddle.com>
Tue, 20 Sep 2022 23:16:17 +0000 (16:16 -0700)
committerMichael Howell <michael@notriddle.com>
Tue, 20 Sep 2022 23:16:49 +0000 (16:16 -0700)
This rule was added in 88fe6dfa31a1bee49090dc72c537c5cd7bd632f4 to assist
in position the hide/show togges on methods. This is no longer needed,
because these toggles are no longer implemented as absolutely positioned
links nested inside headers.

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

index d9e5f77ef0a2b65e6db4b6b5df3fe0156cf10292..ec00dabbf43160c639d0dfd4a04f1f71f05eeee3 100644 (file)
@@ -728,9 +728,6 @@ pre, .rustdoc.source .example-wrap {
        padding: 0;
 }
 
-.content > .methods > .method {
-       position: relative;
-}
 /* Shift "where ..." part of method or fn definition down a line */
 .content .method .where,
 .content .fn .where,