diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2014-08-06 11:07:35 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2014-08-06 11:07:35 +0100 |
| commit | 3b41f3256228ffb01225eab671ef301aa18337d7 (patch) | |
| tree | ecd67f3d1d98c59377e69625c1b585775171aee4 | |
| parent | 7f388068b9c945a447328b42d6c14ac25c35d2c0 (diff) | |
| download | rust-3b41f3256228ffb01225eab671ef301aa18337d7.tar.gz rust-3b41f3256228ffb01225eab671ef301aa18337d7.zip | |
Rustdoc: Add padding on <code>
… to separate text from the edge of the newly added background.
| -rw-r--r-- | src/librustdoc/html/static/main.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index 60932c9086d..f579123fc46 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -123,6 +123,7 @@ code, pre { .docblock code { background-color: #F5F5F5; border-radius: 3px; + padding: 0 0.2em; } pre { background-color: #F5F5F5; |
