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:
Zack M. Davis 2017-07-23 11:27:27 -07:00
parent 6270257f4e
commit 0fdb502710

View File

@ -691,7 +691,7 @@ span.since {
margin-bottom: 25px;
}
.enum .variant, .struct .structfield {
.enum .variant, .struct .structfield, .union .structfield {
display: block;
}