mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
Rollup merge of #132183 - GuillaumeGomez:code-in-docblock, r=notriddle
Fix code HTML items making big blocks if too long Encountered this bug randomly where `code` item in docblocks would look like this:  With this fix it looks like this:  r? ``@notriddle``
This commit is contained in:
@@ -959,7 +959,7 @@ pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
|
||||
background: var(--table-alt-row-background-color);
|
||||
}
|
||||
|
||||
.docblock .stab, .docblock-short .stab {
|
||||
.docblock .stab, .docblock-short .stab, .docblock p code {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user