Move stab_tags to symbol in tables
This commit is contained in:
parent
17ea490310
commit
a48d9d1c49
2 changed files with 5 additions and 4 deletions
|
@ -363,10 +363,11 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
|
||||||
write!(
|
write!(
|
||||||
w,
|
w,
|
||||||
"<div class=\"item-left {stab}{add}module-item\">\
|
"<div class=\"item-left {stab}{add}module-item\">\
|
||||||
<a class=\"{class}\" href=\"{href}\" \
|
<a class=\"{class}\" href=\"{href}\" title=\"{title}\">{name}</a>\
|
||||||
title=\"{title}\">{name}</a>{unsafety_flag}\
|
{unsafety_flag}\
|
||||||
|
{stab_tags}\
|
||||||
</div>\
|
</div>\
|
||||||
<div class=\"item-right docblock-short\">{stab_tags}{docs}</div>",
|
<div class=\"item-right docblock-short\">{docs}</div>",
|
||||||
name = *myitem.name.as_ref().unwrap(),
|
name = *myitem.name.as_ref().unwrap(),
|
||||||
stab_tags = extra_info_tags(myitem, item, cx.tcx()),
|
stab_tags = extra_info_tags(myitem, item, cx.tcx()),
|
||||||
docs = MarkdownSummaryLine(&doc_value, &myitem.links(cx)).into_string(),
|
docs = MarkdownSummaryLine(&doc_value, &myitem.links(cx)).into_string(),
|
||||||
|
|
|
@ -923,7 +923,7 @@ body.blur > :not(#help) {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-right: .3em;
|
margin-left: .3em;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue