Skip to content

Commit

Permalink
fix(rustdoc): add space between struct fields and their descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailarilik committed Oct 8, 2024
1 parent e6c46db commit 0c728c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,12 @@ h4.code-header {
padding: 0;
white-space: pre-wrap;
}
.structfield {
margin-block-start: .6em;
margin-block-end: .6em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}

#crate-search,
h1, h2, h3, h4, h5, h6,
Expand Down

0 comments on commit 0c728c1

Please sign in to comment.