File tree 1 file changed +2
-4
lines changed
src/librustdoc/html/static/css
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ ul.block, .block li {
638
638
639
639
.sidebar-crate h2 a {
640
640
display : block;
641
- margin : 0 calc (-24px + 0.25rem ) 0 -0.5 rem ;
641
+ margin : 0 calc (-24px + 0.25rem ) 0 -0.2 rem ;
642
642
/* Align the sidebar crate link with the search bar, which have different
643
643
font sizes.
644
644
@@ -653,16 +653,14 @@ ul.block, .block li {
653
653
x = ( 16px - 0.57rem ) / 2
654
654
*/
655
655
padding : calc ( ( 16px - 0.57rem ) / 2 ) 0.25rem ;
656
- padding-left : 0.5 rem ;
656
+ padding-left : 0.2 rem ;
657
657
}
658
658
659
659
.sidebar-crate h2 .version {
660
660
display : block;
661
661
font-weight : normal;
662
662
font-size : 1rem ;
663
663
overflow-wrap : break-word;
664
- /* opposite of the link padding, cut in half again */
665
- margin-top : calc ( ( -16px + 0.57rem ) / 2 );
666
664
}
667
665
668
666
.sidebar-crate + .version {
You can’t perform that action at this time.
0 commit comments