Skip to content

Commit

Permalink
Rustdoc: Add padding on <code>
Browse files Browse the repository at this point in the history
… to separate text from the edge of the newly added background.
  • Loading branch information
SimonSapin committed Aug 6, 2014
1 parent 7f38806 commit 3b41f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/main.css
Expand Up @@ -123,6 +123,7 @@ code, pre {
.docblock code {
background-color: #F5F5F5;
border-radius: 3px;
padding: 0 0.2em;
}
pre {
background-color: #F5F5F5;
Expand Down

0 comments on commit 3b41f32

Please sign in to comment.