mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Move stab_tags to symbol in tables
This commit is contained in:
parent
17ea490310
commit
a48d9d1c49
@ -363,10 +363,11 @@ fn item_module(w: &mut Buffer, cx: &Context<'_>, item: &clean::Item, items: &[cl
|
||||
write!(
|
||||
w,
|
||||
"<div class=\"item-left {stab}{add}module-item\">\
|
||||
<a class=\"{class}\" href=\"{href}\" \
|
||||
title=\"{title}\">{name}</a>{unsafety_flag}\
|
||||
<a class=\"{class}\" href=\"{href}\" title=\"{title}\">{name}</a>\
|
||||
{unsafety_flag}\
|
||||
{stab_tags}\
|
||||
</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(),
|
||||
stab_tags = extra_info_tags(myitem, item, cx.tcx()),
|
||||
docs = MarkdownSummaryLine(&doc_value, &myitem.links(cx)).into_string(),
|
||||
|
@ -923,7 +923,7 @@ body.blur > :not(#help) {
|
||||
font-size: 80%;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 0;
|
||||
margin-right: .3em;
|
||||
margin-left: .3em;
|
||||
padding: 2px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user