diff options
| author | bors <bors@rust-lang.org> | 2016-03-04 13:47:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-04 13:47:02 +0000 |
| commit | 85ad61c583d8f129ae6d2481ef2e9fa97ccbe8b9 (patch) | |
| tree | d6c61571ee32d4d9a36d79a18cf5e2245efd868b /src/librustdoc/html/static/rustdoc.css | |
| parent | 5b5e52186917502258a9feadc8bf77a89183386b (diff) | |
| parent | 311ff0367da8769d9d87a3c3b4c7f95d45f9c284 (diff) | |
Auto merge of #32022 - gohyda:master, r=alexcrichton
- Empty `.sidebar .location` caused "grey line" on top of the documentation page (under 700px) fixed. - `.sidebar .location` appearance improvement in responsive mode.
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 1cadc4e476a..c07871a4029 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -616,15 +616,19 @@ a.test-arrow { } .sidebar .location { - float: left; + float: right; margin: 0px; - padding: 5px; - width: 60%; + padding: 3px 10px 1px 10px; + min-height: 39px; background: inherit; text-align: left; font-size: 24px; } + .sidebar .location:empty { + padding: 0; + } + .sidebar img { width: 35px; margin-top: 5px; |
