File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -658,11 +658,13 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
658658
659659.toggle-wrapper {
660660 position : relative;
661+ margin-top : 5px ;
661662}
662663
663664.toggle-wrapper .collapsed {
664- height : 1 em ;
665+ height : 25 px ;
665666 transition : height .2s ;
667+ margin-bottom : .6em ;
666668}
667669
668670.collapse-toggle > .inner {
@@ -704,14 +706,16 @@ span.since {
704706 margin-top : 5px ;
705707}
706708
707- .variant + .toggle-wrapper > a {
708- margin-top : 5px ;
709- }
710-
711709.sub-variant , .sub-variant > h3 {
712710 margin-top : 0 !important ;
713711}
714712
713+ .toggle-label {
714+ display : inline-block;
715+ margin-left : 4px ;
716+ margin-top : 3px ;
717+ }
718+
715719.enum > .toggle-wrapper + .docblock , .struct > .toggle-wrapper + .docblock {
716720 margin-left : 30px ;
717721 margin-bottom : 20px ;
You can’t perform that action at this time.
0 commit comments