Rustdoc: struct fields are spaced too closely #128260
Labels
A-rustdoc-ui
Area: rustdoc UI (generated HTML)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Sample at https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/struct.Body.html:
Headings seem too close to the paragraphs around them, enough so that paragraph breaks stand out more than field breaks.
Testing with
.structfield { padding-top: 0.8rem; padding-bottom: 0.2rem; }
, I think this makes sections stand out better:The text was updated successfully, but these errors were encountered: