Skip to content

Commit d2f9e66

Browse files
authored
Rollup merge of rust-lang#54368 - GuillaumeGomez:reduce-side-padding, 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
2 parents 888a034 + 2099b3c commit d2f9e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ code, pre {
139139
}
140140
.docblock code, .docblock-short code {
141141
border-radius: 3px;
142-
padding: 0 0.2em;
142+
padding: 0 0.1em;
143143
}
144144
.docblock pre code, .docblock-short pre code, .docblock code.spotlight {
145145
padding: 0;

0 commit comments

Comments
 (0)