Rollup merge of #102075 - notriddle:notriddle/content-methods-method, r=GuillaumeGomez
rustdoc: remove no-op CSS `.content > .methods > .method` # `font-size: 1rem` This rule was added in22dad4b044
, back when the `method` class was attached to headers instead of DIVs that wrap headers. Old method rendering:a96247bcac/src/librustdoc/html/render.rs (L2062)
Current method rendering:432abd86f2/src/librustdoc/html/render/print_item.rs (L721)
# `position: relative` This rule was added in88fe6dfa31
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.
This commit is contained in:
commit
dc236181b4
@ -728,10 +728,6 @@ pre, .rustdoc.source .example-wrap {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.content > .methods > .method {
|
||||
font-size: 1rem;
|
||||
position: relative;
|
||||
}
|
||||
/* Shift "where ..." part of method or fn definition down a line */
|
||||
.content .method .where,
|
||||
.content .fn .where,
|
||||
|
Loading…
Reference in New Issue
Block a user