Rollup merge of #83645 - pickfire:patch-3, r=GuillaumeGomez
Wrap non-pre code blocks Fix #83550 regression ``` $ cargo new --lib whitespace && cd whitespace && echo '//! `" foo "`' > src/lib.rs && cargo doc --open ``` Before  After  r? ``@GuillaumeGomez`` cc ``@mgeisler``
This commit is contained in:
commit
9f9577c1aa
1 changed files with 3 additions and 1 deletions
|
@ -424,7 +424,9 @@ nav.sub {
|
|||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
}
|
||||
.docblock-short code {
|
||||
/* Wrap non-pre code blocks (`text`) but not (```text```). */
|
||||
.docblock > :not(pre) > code,
|
||||
.docblock-short > :not(pre) > code {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue