Skip to content

Commit 23abd18

Browse files
Fix invalid line number match
1 parent b76ee83 commit 23abd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ summary {
134134

135135
code, pre {
136136
font-family: "Source Code Pro", monospace;
137-
white-space: pre-wrap;
138137
}
139138
.docblock code, .docblock-short code {
140139
border-radius: 3px;
@@ -301,6 +300,7 @@ body:not(.source) .example-wrap {
301300

302301
body:not(.source) .example-wrap > pre.rust {
303302
width: 100%;
303+
overflow-x: auto;
304304
}
305305

306306
#search {

0 commit comments

Comments
 (0)