File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2166,7 +2166,8 @@ details.toggle > summary:not(.hideme)::before {
21662166 top : 4px ;
21672167}
21682168
2169- .impl-items > details .toggle > summary : not (.hideme )::before {
2169+ .impl-items > details .toggle > summary : not (.hideme )::before ,
2170+ # main-content > .methods > details .toggle > summary : not (.hideme )::before {
21702171 position : absolute;
21712172 left : -24px ;
21722173}
@@ -2176,7 +2177,9 @@ details.toggle > summary:not(.hideme)::before {
21762177.impl-items > * : not (.item-info ),
21772178/* We also indent the first top doc comment the same to still keep an indent on the
21782179 doc block while aligning it with the impl block items. */
2179- .implementors-toggle > .docblock {
2180+ .implementors-toggle > .docblock ,
2181+ /* We indent trait items as well. */
2182+ # main-content > .methods > : not (.item-info ) {
21802183 margin-left : var (--impl-items-indent );
21812184}
21822185
@@ -2508,7 +2511,8 @@ in src-script.js and main.js
25082511 margin-left : 10px ;
25092512 }
25102513
2511- .impl-items > details .toggle > summary : not (.hideme )::before {
2514+ .impl-items > details .toggle > summary : not (.hideme )::before ,
2515+ # main-content > .methods > details .toggle > summary : not (.hideme )::before {
25122516 left : -20px ;
25132517 }
25142518
You can’t perform that action at this time.
0 commit comments