diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-30 03:28:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-30 03:28:39 +0200 |
| commit | 116dcff2c3e34dd3d58b9bcafb8a6bbc678e7b51 (patch) | |
| tree | c9fc82d13e1f0269bf2d5e2cbc34859e565077b1 /src | |
| parent | ada68c9d1997eab7941c371552a3ebcfa08159b7 (diff) | |
| parent | 10b937028660e079cf15735cfb5c4d58892fb10e (diff) | |
| download | rust-116dcff2c3e34dd3d58b9bcafb8a6bbc678e7b51.tar.gz rust-116dcff2c3e34dd3d58b9bcafb8a6bbc678e7b51.zip | |
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">
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 53b08cf5697..358549117a3 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -1113,6 +1113,10 @@ span.since { h1.fqn { overflow: initial; } + + #main > .line-numbers { + margin-top: 0; + } } @media print { |
