Skip to content

Commit 04e98b9

Browse files
committed
rustdoc: remove no-op .method { position: relative }
This rule was added in 88fe6df 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.
1 parent c6c4e0f commit 04e98b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,6 @@ pre, .rustdoc.source .example-wrap {
728728
padding: 0;
729729
}
730730

731-
.content > .methods > .method {
732-
position: relative;
733-
}
734731
/* Shift "where ..." part of method or fn definition down a line */
735732
.content .method .where,
736733
.content .fn .where,

0 commit comments

Comments
 (0)