Skip to content

Commit

Permalink
Rollup merge of rust-lang#54368 - GuillaumeGomez:reduce-side-padding,…
Browse files Browse the repository at this point in the history
… r=QuietMisdreavus

Reduce code block sides padding

Fixes rust-lang#42013.

<img width="1440" alt="screen shot 2018-09-19 at 22 58 32" src="https://user-images.githubusercontent.com/3050060/45781266-c6525680-bc5f-11e8-8eb0-98fc4c22a96e.png">

r? @QuietMisdreavus
  • Loading branch information
pietroalbini authored Sep 25, 2018
2 parents 888a034 + 2099b3c commit d2f9e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ code, pre {
}
.docblock code, .docblock-short code {
border-radius: 3px;
padding: 0 0.2em;
padding: 0 0.1em;
}
.docblock pre code, .docblock-short pre code, .docblock code.spotlight {
padding: 0;
Expand Down

0 comments on commit d2f9e66

Please sign in to comment.