mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-20 11:43:04 +00:00
rustdoc: don't collapse docblock-short
This commit is contained in:
parent
378195665c
commit
93cdce4cf3
@ -1834,7 +1834,7 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
|
||||
<tr class='{stab} module-item'>
|
||||
<td><a class='{class}' href='{href}'
|
||||
title='{title}'>{name}</a></td>
|
||||
<td class='docblock short'>
|
||||
<td class='docblock-short'>
|
||||
{stab_docs} {docs}
|
||||
</td>
|
||||
</tr>",
|
||||
|
@ -239,23 +239,23 @@ nav.sub {
|
||||
}
|
||||
.line-numbers span { cursor: pointer; }
|
||||
|
||||
.docblock.short p {
|
||||
.docblock-short p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.docblock.short.nowrap {
|
||||
.docblock-short.nowrap {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.docblock.short p {
|
||||
.docblock-short p {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
}
|
||||
.docblock.short code { white-space: nowrap; }
|
||||
.docblock-short code { white-space: nowrap; }
|
||||
|
||||
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
|
||||
border-bottom: 1px solid;
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#![unstable(feature="test", issue = "32374")]
|
||||
|
||||
// @has issue_32374/index.html '//*[@class="docblock short"]' \
|
||||
// @has issue_32374/index.html '//*[@class="docblock-short"]' \
|
||||
// '[Deprecated] [Unstable]'
|
||||
|
||||
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]' \
|
||||
|
Loading…
Reference in New Issue
Block a user