Skip to content

Commit 49ff1b4

Browse files
committed
Fix styling of records to match variants
This adds styling to the records that matches that introduced in c/s c3a8f70 Fixes ocaml#260. Signed-off-by: Jon Ludlam <[email protected]>
1 parent bbeb334 commit 49ff1b4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/odoc/etc/odoc.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,13 @@ section+section, section > header + dl {
327327
margin: 0;
328328
font-style: italic;
329329
}
330+
.spec.type .record {
331+
margin-left: 2ch;
332+
}
333+
.spec.type .record p {
334+
margin: 0;
335+
font-style: italic;
336+
}
330337

331338
div.def {
332339
margin-top: 0;

0 commit comments

Comments
 (0)