diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-16 10:42:00 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-16 10:46:55 -0700 |
| commit | ac8628bcf6dcac5b06f9dff311e8dc05e1367e4e (patch) | |
| tree | 10b19280e9f6b5308e4dc88f3eb36b3e9589d261 /compiler/rustc_codegen_llvm/src | |
| parent | 1676a9ad6189dbf4fd330f6041735f7459b256f5 (diff) | |
| download | rust-ac8628bcf6dcac5b06f9dff311e8dc05e1367e4e.tar.gz rust-ac8628bcf6dcac5b06f9dff311e8dc05e1367e4e.zip | |
rustdoc: remove no-op CSS `.source .content { max-width: none }`
This rule originated in 7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99, to override the default, limited line-width that makes sense for prose, but doesn't make sense for code (which typically uses hard-wrapped lines): https://github.com/rust-lang/rust/blob/7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99/src/librustdoc/html/static/main.css#L153 This line width limiter isn't applied to the `<div class="content">` node any more. It's been moved to a separate wrapper `<div>` that used to be called `main-inner` (in 135281ed1525db15edd8ebd092aa10aa40df2386) but is now called `width-limiter` (since d7528e2157762fadb9665518fd1e4dee6d6a2809).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
