File tree 1 file changed +9
-5
lines changed
src/librustdoc/html/static
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 {
658
658
659
659
.toggle-wrapper {
660
660
position : relative;
661
+ margin-top : 5px ;
661
662
}
662
663
663
664
.toggle-wrapper .collapsed {
664
- height : 1 em ;
665
+ height : 25 px ;
665
666
transition : height .2s ;
667
+ margin-bottom : .6em ;
666
668
}
667
669
668
670
.collapse-toggle > .inner {
@@ -704,14 +706,16 @@ span.since {
704
706
margin-top : 5px ;
705
707
}
706
708
707
- .variant + .toggle-wrapper > a {
708
- margin-top : 5px ;
709
- }
710
-
711
709
.sub-variant , .sub-variant > h3 {
712
710
margin-top : 0 !important ;
713
711
}
714
712
713
+ .toggle-label {
714
+ display : inline-block;
715
+ margin-left : 4px ;
716
+ margin-top : 3px ;
717
+ }
718
+
715
719
.enum > .toggle-wrapper + .docblock , .struct > .toggle-wrapper + .docblock {
716
720
margin-left : 30px ;
717
721
margin-bottom : 20px ;
You can’t perform that action at this time.
0 commit comments