Skip to content

Commit 45d24c7

Browse files
2 parents 635dbd6 + 6d7ef10 commit 45d24c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ code, pre, a.test-arrow {
156156
}
157157
.docblock pre code, .docblock-short pre code, .docblock code.spotlight {
158158
padding: 0;
159+
padding-right: 1ex;
159160
}
160161
.docblock code.spotlight :last-child {
161162
padding-bottom: 0.6em;
@@ -404,7 +405,7 @@ nav.sub {
404405
text-overflow: ellipsis;
405406
margin: 0;
406407
}
407-
.docblock code, .docblock-short code {
408+
.docblock-short code {
408409
white-space: pre-wrap;
409410
}
410411

0 commit comments

Comments
 (0)