mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
rustdoc: fix layout of Fields section in documentation for unions
Previously, the union fields would all render on the same line with hideous spacing; comparison to the analogous section for structs makes it undoubtable that `display: block` is the true intent. Concisely and definitively resolves #43404 and its perfidious malignancy.
This commit is contained in:
parent
6270257f4e
commit
0fdb502710
@ -691,7 +691,7 @@ span.since {
|
|||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enum .variant, .struct .structfield {
|
.enum .variant, .struct .structfield, .union .structfield {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user