File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -597,11 +597,11 @@ fn document_item_info(
597
597
) {
598
598
let item_infos = short_item_info ( item, cx, parent) ;
599
599
if !item_infos. is_empty ( ) {
600
- w. write_str ( "<div class=\" item-info\" >" ) ;
600
+ w. write_str ( "<span class=\" item-info\" >" ) ;
601
601
for info in item_infos {
602
602
w. write_str ( & info) ;
603
603
}
604
- w. write_str ( "</div >" ) ;
604
+ w. write_str ( "</span >" ) ;
605
605
}
606
606
}
607
607
@@ -1772,7 +1772,7 @@ pub(crate) fn render_impl_summary(
1772
1772
let is_trait = i. inner_impl ( ) . trait_ . is_some ( ) ;
1773
1773
if is_trait {
1774
1774
if let Some ( portability) = portability ( & i. impl_item , Some ( parent) ) {
1775
- write ! ( w, "<div class=\" item-info\" >{}</div >" , portability) ;
1775
+ write ! ( w, "<span class=\" item-info\" >{}</span >" , portability) ;
1776
1776
}
1777
1777
}
1778
1778
Original file line number Diff line number Diff line change @@ -737,6 +737,10 @@ h2.location a {
737
737
border : none;
738
738
}
739
739
740
+ .item-info {
741
+ display : block;
742
+ }
743
+
740
744
.content .item-info code {
741
745
font-size : 0.875rem ;
742
746
}
You can’t perform that action at this time.
0 commit comments