diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-26 21:58:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-26 21:58:39 -0700 |
| commit | b80593995d5d149d6bb622bbdf0a3e180e2ada69 (patch) | |
| tree | 0bb5a57a2318fe7086b5e1300309098b2e37a3fd /src | |
| parent | 05f784c9550d1f624da48fcfd1b32179cb2240b4 (diff) | |
| parent | 88f4425dd20d5724d00eafc9c4397f521cd8e4bb (diff) | |
| download | rust-b80593995d5d149d6bb622bbdf0a3e180e2ada69.tar.gz rust-b80593995d5d149d6bb622bbdf0a3e180e2ada69.zip | |
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``
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index ae4d55e93ac..97e8b8f5b5f 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -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; } |
