mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
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 in2fd378b82b
(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. That negative margin was removed in593d6d1cb1
.
This commit is contained in:
parent
3c72788461
commit
e1f5d4f23f
@ -770,10 +770,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user