Skip to content

Commit 116dcff

Browse files
authored
Rollup merge of #60380 - GuillaumeGomez:fix-line-number-display, r=Manishearth
Fix line number display in source view Fixes #60310. r? rust-lang/rustdoc cc @Manishearth screenshot of the fix: <img width="798" alt="Screenshot 2019-04-29 at 23 12 20" src="https://user-images.githubusercontent.com/3050060/56927541-b7286680-6ad4-11e9-9215-42dc4ef42691.png">
2 parents ada68c9 + 10b9370 commit 116dcff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+4
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,10 @@ span.since {
11131113
h1.fqn {
11141114
overflow: initial;
11151115
}
1116+
1117+
#main > .line-numbers {
1118+
margin-top: 0;
1119+
}
11161120
}
11171121

11181122
@media print {

0 commit comments

Comments
 (0)