about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-20 16:16:17 -0700
committerMichael Howell <michael@notriddle.com>2022-09-20 16:16:49 -0700
commit04e98b9025f8b637fb5e67b0a697e324e6aebc66 (patch)
tree36f4cf6560a401a2c84db6b05a797f07ce606698 /src/librustdoc/html
parentc6c4e0f4384cc2416877b0731452119ae355d22b (diff)
rustdoc: remove no-op `.method { position: relative }`
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.
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index d9e5f77ef0a..ec00dabbf43 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -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,