Skip to content

Commit dd3dc10

Browse files
Fix code HTML items making big blocks if too long
1 parent 8aca4ba commit dd3dc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
959959
background: var(--table-alt-row-background-color);
960960
}
961961

962-
.docblock .stab, .docblock-short .stab {
962+
.docblock .stab, .docblock-short .stab, .docblock p code {
963963
display: inline-block;
964964
}
965965

0 commit comments

Comments
 (0)