mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
rustdoc: remove no-op CSS .source .content { max-width: none }
This rule originated in7669f04fb0, 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` (in135281ed15) but is now called `width-limiter` (sinced7528e2157).
This commit is contained in:
@@ -346,7 +346,6 @@ img {
|
||||
}
|
||||
|
||||
.source .content {
|
||||
max-width: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user