Skip to content

Commit 0c728c1

Browse files
committed
fix(rustdoc): add space between struct fields and their descriptions
1 parent e6c46db commit 0c728c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ h4.code-header {
230230
padding: 0;
231231
white-space: pre-wrap;
232232
}
233+
.structfield {
234+
margin-block-start: .6em;
235+
margin-block-end: .6em;
236+
margin-inline-start: 0px;
237+
margin-inline-end: 0px;
238+
}
233239

234240
#crate-search,
235241
h1, h2, h3, h4, h5, h6,

0 commit comments

Comments
 (0)