diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-08 17:04:53 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-16 20:32:53 +0100 |
| commit | 5136b549c9b8906065681844e6a30082a6f5742e (patch) | |
| tree | 839aeb95f6287bd8b372ac8d7fe0511ec09f187b /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 6421a499a50adbaa7b5d0234bdd4817d970f0933 (diff) | |
| download | rust-5136b549c9b8906065681844e6a30082a6f5742e.tar.gz rust-5136b549c9b8906065681844e6a30082a6f5742e.zip | |
Unify sidebar a bit more by generating a list using <ul> instead of <div> elements
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 4327a554fc6..4d976bac63d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -484,10 +484,6 @@ h2.location a { overflow: hidden; } -.sidebar-links a { - white-space: nowrap; -} - .sidebar h2 { border-bottom: none; font-weight: 500; @@ -504,11 +500,14 @@ h2.location a { margin: 0; } -.sidebar-links, -.block { +.sidebar-elems .block { margin-bottom: 2em; } +.sidebar-elems .block li a { + white-space: nowrap; +} + .mobile-topbar { display: none; } |
