diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-09-07 07:43:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-07 07:43:57 +0900 |
| commit | 1bc6110fdf5534c2abf3b67fb0749a085c0ce07d (patch) | |
| tree | b4e4c1b18fd020d760478085b090825f6162a78c | |
| parent | cf41b382095f05ae111e56998cd90564f0f706f9 (diff) | |
| parent | e1f5d4f23f8136a7842c6bc38a1cde78566149b7 (diff) | |
| download | rust-1bc6110fdf5534c2abf3b67fb0749a085c0ce07d.tar.gz rust-1bc6110fdf5534c2abf3b67fb0749a085c0ce07d.zip | |
Rollup merge of #101491 - notriddle:notriddle/sub-variant-div-item-info, r=GuillaumeGomez
rustdoc: remove outdated CSS `.sub-variant > div > .item-info` This CSS still matches sometimes, as you can see in <https://doc.rust-lang.org/1.63.0/std/collections/enum.TryReserveErrorKind.html#variant.AllocError.fields>, but since nothing else is setting `margin-top`, putting it back to `initial` does nothing. This selector was added here, but it was called `.stability` instead of `.item-info` at the time, probably as an override for the selector immediately above it that sets a negative margin: https://github.com/rust-lang/rust/blob/2fd378b82b14f2746462018e8510e15a079818a0/src/librustdoc/html/static/rustdoc.css#L514-L522 That negative margin was removed in 593d6d1cb15c55c88319470dabb40126c7b7f1e2.
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index f3a6c5a9c0f..2f6d1342260 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -765,10 +765,6 @@ pre, .rustdoc.source .example-wrap { margin-left: 24px; } -.sub-variant > div > .item-info { - margin-top: initial; -} - .content .impl-items .docblock, .content .impl-items .item-info { margin-bottom: .6em; } |
