Skip to content

Commit

Permalink
rustdoc: remove no-op .method { position: relative }
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
notriddle committed Sep 20, 2022
1 parent c6c4e0f commit 04e98b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04e98b9

Please sign in to comment.