diff options
| author | Dirk Gadsden <dirk@esherido.com> | 2014-12-28 12:24:27 -0500 |
|---|---|---|
| committer | Dirk Gadsden <dirk@esherido.com> | 2014-12-28 12:24:27 -0500 |
| commit | 57a3ef3f9b59ad74a2ce369150f72007fb8b2e62 (patch) | |
| tree | 5e53ca5463372d150ef3151d984f8277b4016a69 | |
| parent | 4477c7c52e7c7058c8aed3b74366174f4d1b7241 (diff) | |
| download | rust-57a3ef3f9b59ad74a2ce369150f72007fb8b2e62.tar.gz rust-57a3ef3f9b59ad74a2ce369150f72007fb8b2e62.zip | |
Use CSS whitespace rather than padding to indent
| -rw-r--r-- | src/librustdoc/html/static/main.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index 0b4ec38e0a3..9d4f341a30e 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -306,8 +306,10 @@ nav.sub { font-size: 1em; position: relative; } -/* Shift "where ..." part of method definition down a line and indent it */ -.content .method .where { display: block; padding-left: 3.75em; } +/* Shift "where ..." part of method definition down a line */ +.content .method .where { display: block; } +/* Bit of whitespace to indent it */ +.content .method .where::before { content: ' '; } .content .methods .docblock { margin-left: 40px; } |
