diff options
| author | bors <bors@rust-lang.org> | 2025-05-25 07:37:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-05-25 07:37:05 +0000 |
| commit | aa57e46e24a4a08cc336325e92567b40b0c2ba62 (patch) | |
| tree | ad91cc843609eb47f88ab937a3620dc025572a93 /src | |
| parent | 3d86494a0d0131c32eb15e3a4b685707b9ff000d (diff) | |
| parent | c27b7c22148e1666633d6a19826c37fcece07569 (diff) | |
| download | rust-aa57e46e24a4a08cc336325e92567b40b0c2ba62.tar.gz rust-aa57e46e24a4a08cc336325e92567b40b0c2ba62.zip | |
Auto merge of #141529 - jhpratt:rollup-8dle839, r=jhpratt
Rollup of 4 pull requests Successful merges: - rust-lang/rust#139831 (rustdoc: on mobile, make the sidebar full width and linewrap) - rust-lang/rust#140950 (More option optimization tests) - rust-lang/rust#141108 (Docs(lib): Fix `extract_if` docs) - rust-lang/rust#141361 (use `cfg_select!` to select the right `VaListImpl` definition) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index a81d5c9c49b..7be83b65fbf 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2527,9 +2527,12 @@ in src-script.js and main.js z-index: 11; /* Reduce height slightly to account for mobile topbar. */ height: calc(100vh - 45px); - width: 200px; /* resize indicator: hide this when on touch or mobile */ border-right: none; + width: 100%; + } + .sidebar-elems .block li a { + white-space: wrap; } /* The source view uses a different design for the sidebar toggle, and doesn't have a topbar, |
